Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.157/2.157, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.155e-05, allocations: 4 kB / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 48.69 MB / 316.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4698/0.5855, allocations: 83.33 MB / 399.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5858, allocations: 67.52 kB / 399.7 MB, free: 9.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1393/0.7252, allocations: 27.79 MB / 427.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7252, allocations: 448 / 427.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.51e-05/0.7254, allocations: 19.94 kB / 427.5 MB, free: 1.266 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003019/0.7284, allocations: 0.9268 MB / 428.4 MB, free: 300 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.7285, allocations: 8.031 kB / 428.4 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.7288, allocations: 83.06 kB / 428.5 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.7305, allocations: 0.5305 MB / 429 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.7306, allocations: 16 kB / 429.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.7307, allocations: 32 kB / 429.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009893/0.7317, allocations: 313.5 kB / 429.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.7328, allocations: 441.9 kB / 429.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.7329, allocations: 3.906 kB / 429.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/0.7329, allocations: 0 / 429.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.733, allocations: 12 kB / 429.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/0.7386, allocations: 1.888 MB / 431.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.7399, allocations: 450.8 kB / 432.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.7404, allocations: 186.6 kB / 432.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.7405, allocations: 4 kB / 432.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.7405, allocations: 39.56 kB / 432.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.562e-06/0.7405, allocations: 4 kB / 432.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002106/0.7427, allocations: 0.729 MB / 433.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7428, allocations: 158.2 kB / 433.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.7437, allocations: 459.6 kB / 433.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/0.7438, allocations: 29.64 kB / 433.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.7441, allocations: 334.8 kB / 434.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.7444, allocations: 169.5 kB / 434.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.7444, allocations: 4 kB / 434.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7446, allocations: 334.8 kB / 434.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.7451, allocations: 185.1 kB / 434.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.7457, allocations: 296.7 kB / 435 MB, free: 9.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.7463, allocations: 217.2 kB / 435.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.7464, allocations: 3.938 kB / 435.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001418/0.7478, allocations: 0.5184 MB / 435.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7478, allocations: 4 kB / 435.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7479, allocations: 8 kB / 435.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.7479, allocations: 4.312 kB / 435.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.7492, allocations: 151.8 kB / 435.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.7492, allocations: 4 kB / 436 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.7503, allocations: 79.62 kB / 436 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.7504, allocations: 23.98 kB / 436.1 MB, free: 8.359 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.7506, allocations: 112.8 kB / 436.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001315/0.7519, allocations: 436.9 kB / 436.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.7521, allocations: 67.23 kB / 436.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.7524, allocations: 73.17 kB / 436.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.7524, allocations: 8 kB / 436.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7525, allocations: 0 / 436.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.7525, allocations: 0 / 436.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.7542, allocations: 0.7326 MB / 437.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7542, allocations: 0 / 437.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.7556, allocations: 115.9 kB / 437.6 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.7556, allocations: 4 kB / 437.6 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.7557, allocations: 8 kB / 437.6 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.7557, allocations: 4 kB / 437.6 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7557, allocations: 0 / 437.6 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.7577, allocations: 0.9415 MB / 438.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.7582, allocations: 200.2 kB / 438.7 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.7583, allocations: 4 kB / 438.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.7594, allocations: 63.89 kB / 438.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.7596, allocations: 35.94 kB / 438.8 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.7597, allocations: 12 kB / 438.8 MB, free: 5.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006845/0.7604, allocations: 363.2 kB / 439.2 MB, free: 5.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.7604, allocations: 0 / 439.2 MB, free: 5.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008741/0.7613, allocations: 96 kB / 439.3 MB, free: 5.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002428/0.7637, allocations: 1.64 MB / 440.9 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.765, allocations: 435.7 kB / 441.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.765, allocations: 0 / 441.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.7656, allocations: 211.8 kB / 441.6 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.7671, allocations: 150.7 kB / 441.7 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.7712, allocations: 1.311 MB / 443 MB, free: 1.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.772, allocations: 0.9462 MB / 444 MB, free: 224 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/0.7728, allocations: 239.4 kB / 444.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7728, allocations: 4 kB / 444.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.661/3.434, allocations: 10.62 MB / 454.8 MB, free: 5.367 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat