Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.794e-05/4.835e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4247, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5918, allocations: 90.06 MB / 449.9 MB, free: 6.848 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5921, allocations: 63.97 kB / 450 MB, free: 6.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1359/0.7281, allocations: 27.57 MB / 477.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7281, allocations: 448 / 477.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.855e-05/0.7282, allocations: 27.81 kB / 477.6 MB, free: 11.14 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.002907/0.7311, allocations: 0.9113 MB / 478.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.7312, allocations: 8.688 kB / 478.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.7314, allocations: 86.45 kB / 478.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.7317, allocations: 82.97 kB / 478.7 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.7334, allocations: 0.5382 MB / 479.2 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.7335, allocations: 40.72 kB / 479.3 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.7337, allocations: 48 kB / 479.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.7349, allocations: 463.6 kB / 479.8 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.735, allocations: 13.34 kB / 479.8 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.7351, allocations: 16 kB / 479.8 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.7351, allocations: 12 kB / 479.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.7362, allocations: 333 kB / 480.1 MB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005561/0.7418, allocations: 1.928 MB / 482 MB, free: 6.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.743, allocations: 420.9 kB / 482.5 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.7436, allocations: 199 kB / 482.7 MB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.797e-05/0.7437, allocations: 15.95 kB / 482.7 MB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.7437, allocations: 38.5 kB / 482.7 MB, free: 5.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.026e-06/0.7437, allocations: 0 / 482.7 MB, free: 5.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002319/0.746, allocations: 0.7694 MB / 483.5 MB, free: 4.992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.7462, allocations: 106.8 kB / 483.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.7472, allocations: 0.4957 MB / 484.1 MB, free: 4.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.7474, allocations: 38.73 kB / 484.1 MB, free: 4.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.7478, allocations: 316.4 kB / 484.4 MB, free: 4.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.7481, allocations: 173.5 kB / 484.6 MB, free: 3.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.7482, allocations: 12 kB / 484.6 MB, free: 3.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.7484, allocations: 382.8 kB / 485 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006382/0.7491, allocations: 197.1 kB / 485.2 MB, free: 3.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.7498, allocations: 295 kB / 485.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.7505, allocations: 233.3 kB / 485.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7506, allocations: 0 / 485.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002082/0.7527, allocations: 0.6169 MB / 486.3 MB, free: 2.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000533/0.7532, allocations: 1.053 MB / 487.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.7533, allocations: 0 / 487.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.7533, allocations: 11.94 kB / 487.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/0.7553, allocations: 191.8 kB / 487.6 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.7554, allocations: 7.938 kB / 487.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.7565, allocations: 83.62 kB / 487.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.7566, allocations: 28 kB / 487.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7566, allocations: 1.406 kB / 487.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/0.7582, allocations: 0.516 MB / 488.2 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.7582, allocations: 4.312 kB / 488.2 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7582, allocations: 11.94 kB / 488.2 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.7601, allocations: 187.9 kB / 488.4 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.7602, allocations: 11.92 kB / 488.4 MB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/0.7612, allocations: 87.55 kB / 488.5 MB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.7613, allocations: 23.98 kB / 488.5 MB, free: 15.79 MB / 426.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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0002313/0.7615, allocations: 132.9 kB / 488.6 MB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.7617, allocations: 71.16 kB / 488.7 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.762, allocations: 85.41 kB / 488.8 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.7621, allocations: 4 kB / 488.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.7621, allocations: 5.406 kB / 488.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7621, allocations: 0 / 488.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.7649, allocations: 1.163 MB / 490 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.765, allocations: 4.062 kB / 490 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.7664, allocations: 107.9 kB / 490.1 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.7664, allocations: 7.938 kB / 490.1 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/0.7665, allocations: 15.98 kB / 490.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.7665, allocations: 7.953 kB / 490.1 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7665, allocations: 4 kB / 490.1 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.7689, allocations: 1.009 MB / 491.1 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.7694, allocations: 192.3 kB / 491.3 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.7695, allocations: 12 kB / 491.3 MB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.7706, allocations: 63.94 kB / 491.4 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.7708, allocations: 39.88 kB / 491.4 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.7709, allocations: 15.95 kB / 491.4 MB, free: 12.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007802/0.7716, allocations: 399.1 kB / 491.8 MB, free: 12.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7717, allocations: 0 / 491.8 MB, free: 12.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00133/0.773, allocations: 223.9 kB / 492 MB, free: 12.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.002837/0.7759, allocations: 1.891 MB / 493.9 MB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.7782, allocations: 0.7531 MB / 494.7 MB, free: 9.414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7782, allocations: 1.25 kB / 494.7 MB, free: 9.414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006863/0.7789, allocations: 225.2 kB / 494.9 MB, free: 9.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.7805, allocations: 154.6 kB / 495.1 MB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.7848, allocations: 1.33 MB / 496.4 MB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.7856, allocations: 0.9544 MB / 497.3 MB, free: 6.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001306/0.7869, allocations: 194.6 kB / 497.5 MB, free: 6.496 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005926/0.7875, allocations: 227.4 kB / 497.8 MB, free: 6.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7875, allocations: 0 / 497.8 MB, free: 6.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.8397, allocations: 14.3 MB / 0.5001 GB, free: 8.039 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.8401, allocations: 156.9 kB / 0.5002 GB, free: 7.809 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/3.843, allocations: 64 / 0.5002 GB, free: 7.809 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat