Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.844e-05, allocations: 4 kB / 305 MB, free: 5.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4395, allocations: 54.85 MB / 359.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.6218, allocations: 89.97 MB / 449.8 MB, free: 6.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.6221, allocations: 59.97 kB / 449.9 MB, free: 6.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1491/0.7712, allocations: 26.23 MB / 476.1 MB, free: 12.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7713, allocations: 0 / 476.1 MB, free: 12.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.467e-05/0.7714, allocations: 20 kB / 476.1 MB, free: 12.58 MB / 410.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.003529/0.7749, allocations: 0.9114 MB / 477 MB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.775, allocations: 8.031 kB / 477 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.7752, allocations: 82.52 kB / 477.1 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.7755, allocations: 79.06 kB / 477.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.777, allocations: 0.5149 MB / 477.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.7771, allocations: 36.78 kB / 477.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.7772, allocations: 47.91 kB / 477.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.7785, allocations: 474.4 kB / 478.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.7785, allocations: 0 / 478.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.7786, allocations: 23.94 kB / 478.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.7786, allocations: 12 kB / 478.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.7797, allocations: 337 kB / 478.6 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005645/0.7853, allocations: 1.963 MB / 480.6 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.7867, allocations: 462.4 kB / 481 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.7873, allocations: 206.6 kB / 481.2 MB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.7874, allocations: 7.953 kB / 481.3 MB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.7874, allocations: 38.56 kB / 481.3 MB, free: 7.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.946e-06/0.7874, allocations: 4 kB / 481.3 MB, free: 7.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002254/0.7897, allocations: 0.7506 MB / 482 MB, free: 6.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/0.7898, allocations: 132.5 kB / 482.2 MB, free: 6.242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/0.7908, allocations: 0.4918 MB / 482.7 MB, free: 5.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/0.7909, allocations: 37.7 kB / 482.7 MB, free: 5.703 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.7912, allocations: 339.4 kB / 483 MB, free: 5.367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.7915, allocations: 173.6 kB / 483.2 MB, free: 5.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.7916, allocations: 8 kB / 483.2 MB, free: 5.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.7917, allocations: 346.8 kB / 483.6 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.7923, allocations: 193.1 kB / 483.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/0.7931, allocations: 299.9 kB / 484 MB, free: 4.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/0.7938, allocations: 232.7 kB / 484.3 MB, free: 4.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7938, allocations: 0 / 484.3 MB, free: 4.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001568/0.7954, allocations: 0.5535 MB / 484.8 MB, free: 3.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.7959, allocations: 1.059 MB / 485.9 MB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7959, allocations: 0 / 485.9 MB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.796, allocations: 8 kB / 485.9 MB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.7973, allocations: 147.8 kB / 486 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.7974, allocations: 8 kB / 486 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7984, allocations: 83.62 kB / 486.1 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.7985, allocations: 27.94 kB / 486.1 MB, free: 2.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7985, allocations: 5.406 kB / 486.1 MB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001463/0.8, allocations: 0.5166 MB / 486.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8, allocations: 0 / 486.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8, allocations: 8 kB / 486.7 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.8013, allocations: 148.1 kB / 486.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.8013, allocations: 4 kB / 486.8 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.8019, allocations: 75.61 kB / 486.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.802, allocations: 16 kB / 486.9 MB, free: 1.359 MB / 410.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.0002225/0.8022, allocations: 136.8 kB / 487 MB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.8025, allocations: 71.14 kB / 487.1 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.8028, allocations: 81.42 kB / 487.2 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/0.8028, allocations: 4 kB / 487.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8028, allocations: 0 / 487.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.8029, allocations: 11.98 kB / 487.2 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.8046, allocations: 0.7907 MB / 488 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8047, allocations: 0 / 488 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.806, allocations: 111.9 kB / 488.1 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.806, allocations: 8.938 kB / 488.1 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.8061, allocations: 12 kB / 488.1 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.8061, allocations: 7.984 kB / 488.1 MB, free: 68 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.8062, allocations: 3.953 kB / 488.1 MB, free: 64 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.8083, allocations: 0.9616 MB / 489.1 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.8087, allocations: 196.3 kB / 489.3 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.8089, allocations: 12 kB / 489.3 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.8099, allocations: 67.94 kB / 489.4 MB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.8101, allocations: 35.94 kB / 489.4 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.8102, allocations: 12 kB / 489.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007827/0.811, allocations: 396 kB / 489.8 MB, free: 14.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.811, allocations: 0 / 489.8 MB, free: 14.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00116/0.8121, allocations: 192 kB / 490 MB, free: 14.16 MB / 426.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.002633/0.8148, allocations: 1.683 MB / 491.7 MB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.817, allocations: 0.7185 MB / 492.4 MB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.817, allocations: 4 kB / 492.4 MB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.8176, allocations: 212.7 kB / 492.6 MB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.8191, allocations: 169.8 kB / 492.8 MB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.8232, allocations: 1.342 MB / 494.1 MB, free: 9.957 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/0.824, allocations: 0.9416 MB / 495.1 MB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/0.8248, allocations: 239.3 kB / 495.3 MB, free: 8.754 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8248, allocations: 3.938 kB / 495.3 MB, free: 8.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/3.712, allocations: 10.64 MB / 0.4941 GB, free: 14.12 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat