Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.209/2.209, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.234e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.386, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.5455, allocations: 89.96 MB / 449.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.5458, allocations: 63.97 kB / 449.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1237/0.6695, allocations: 26.22 MB / 476.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6695, allocations: 0 / 476.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.25e-05/0.6696, allocations: 23.98 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.002633/0.6723, allocations: 0.9034 MB / 477 MB, free: 11.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6723, allocations: 8.031 kB / 477 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.6725, allocations: 86.52 kB / 477.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.6727, allocations: 80.66 kB / 477.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.6742, allocations: 0.5226 MB / 477.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.6743, allocations: 32.78 kB / 477.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.6744, allocations: 48 kB / 477.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.6757, allocations: 476 kB / 478.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.6757, allocations: 0 / 478.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.6758, allocations: 20 kB / 478.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.6758, allocations: 15.94 kB / 478.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.6768, allocations: 334.1 kB / 478.6 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005493/0.6824, allocations: 1.978 MB / 480.6 MB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.6837, allocations: 472.4 kB / 481.1 MB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.6842, allocations: 194.6 kB / 481.3 MB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.6843, allocations: 8.734 kB / 481.3 MB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.6844, allocations: 46.59 kB / 481.3 MB, free: 7.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.236e-06/0.6844, allocations: 0 / 481.3 MB, free: 7.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002137/0.6865, allocations: 0.7508 MB / 482.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.6866, allocations: 132.5 kB / 482.2 MB, free: 6.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009417/0.6876, allocations: 0.4918 MB / 482.7 MB, free: 5.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.6877, allocations: 37.7 kB / 482.7 MB, free: 5.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.688, allocations: 328.5 kB / 483 MB, free: 5.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.6883, allocations: 170.4 kB / 483.2 MB, free: 5.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.6883, allocations: 8 kB / 483.2 MB, free: 5.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.6885, allocations: 382.8 kB / 483.6 MB, free: 4.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/0.6891, allocations: 197.1 kB / 483.8 MB, free: 4.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.6898, allocations: 304.9 kB / 484.1 MB, free: 4.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.6905, allocations: 231.7 kB / 484.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.6905, allocations: 0 / 484.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001662/0.6922, allocations: 0.6152 MB / 484.9 MB, free: 3.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004345/0.6926, allocations: 1.051 MB / 486 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6927, allocations: 5.406 kB / 486 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.6927, allocations: 4 kB / 486 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.694, allocations: 155.8 kB / 486.1 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.6941, allocations: 4 kB / 486.1 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.6951, allocations: 87.62 kB / 486.2 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.6952, allocations: 23.98 kB / 486.2 MB, free: 2.023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6952, allocations: 7.938 kB / 486.2 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001467/0.6967, allocations: 0.5191 MB / 486.8 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6967, allocations: 7.938 kB / 486.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6968, allocations: 8.312 kB / 486.8 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6979, allocations: 143.9 kB / 486.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.698, allocations: 7.938 kB / 486.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.6989, allocations: 87.59 kB / 487 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.699, allocations: 23.98 kB / 487 MB, free: 1.223 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.0002029/0.6992, allocations: 134.5 kB / 487.2 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.6994, allocations: 72.56 kB / 487.2 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.6997, allocations: 77.42 kB / 487.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6997, allocations: 8 kB / 487.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6997, allocations: 0 / 487.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.6998, allocations: 11.94 kB / 487.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.7016, allocations: 0.783 MB / 488.1 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7017, allocations: 7.938 kB / 488.1 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.703, allocations: 115.9 kB / 488.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.7031, allocations: 0 / 488.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.7032, allocations: 19.98 kB / 488.3 MB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.7032, allocations: 3.953 kB / 488.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7032, allocations: 4 kB / 488.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.7052, allocations: 0.9566 MB / 489.2 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/0.7056, allocations: 200.2 kB / 489.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7058, allocations: 12 kB / 489.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.7068, allocations: 67.88 kB / 489.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.707, allocations: 43.88 kB / 489.5 MB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.7071, allocations: 11.98 kB / 489.6 MB, free: 14.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007522/0.7078, allocations: 395.2 kB / 489.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7079, allocations: 0 / 489.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001063/0.7089, allocations: 192 kB / 490.1 MB, free: 14.02 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.002462/0.7114, allocations: 1.686 MB / 491.8 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.7136, allocations: 0.7494 MB / 492.6 MB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7136, allocations: 0 / 492.6 MB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.7143, allocations: 213.1 kB / 492.8 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7157, allocations: 154 kB / 492.9 MB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.7198, allocations: 1.327 MB / 494.2 MB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.7205, allocations: 0.9467 MB / 495.2 MB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001217/0.7217, allocations: 198.7 kB / 495.4 MB, free: 8.648 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.7223, allocations: 227.4 kB / 495.6 MB, free: 8.426 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7223, allocations: 0 / 495.6 MB, free: 8.426 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04808/0.7704, allocations: 13.61 MB / 0.4973 GB, free: 10.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.7707, allocations: 156.4 kB / 0.4974 GB, free: 10.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.711, allocations: 7.938 kB / 0.4974 GB, free: 10.65 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat