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.475/2.475, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.989e-05, allocations: 0 / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4041, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.5926, allocations: 89.96 MB / 449.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5929, allocations: 63.97 kB / 449.9 MB, free: 6.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1362/0.7291, allocations: 26.23 MB / 476.1 MB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7291, allocations: 4 kB / 476.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.7293, allocations: 20 kB / 476.2 MB, free: 12.49 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.004178/0.7335, allocations: 0.9034 MB / 477.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.7336, allocations: 8.031 kB / 477.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.7338, allocations: 82.53 kB / 477.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/0.7342, allocations: 83.06 kB / 477.2 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.7364, allocations: 0.5148 MB / 477.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.7365, allocations: 32.78 kB / 477.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.7368, allocations: 54.61 kB / 477.8 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.7387, allocations: 474.5 kB / 478.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.7388, allocations: 0 / 478.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.7389, allocations: 16 kB / 478.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.739, allocations: 15.94 kB / 478.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.7405, allocations: 333 kB / 478.6 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008696/0.7493, allocations: 1.971 MB / 480.6 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.7513, allocations: 464.8 kB / 481.1 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.7522, allocations: 202.5 kB / 481.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.711e-05/0.7523, allocations: 4 kB / 481.3 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.7523, allocations: 46.59 kB / 481.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 5.521e-06/0.7524, allocations: 0 / 481.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.003343/0.7557, allocations: 0.7507 MB / 482.1 MB, free: 6.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.7559, allocations: 132.5 kB / 482.2 MB, free: 6.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.7574, allocations: 0.4919 MB / 482.7 MB, free: 5.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.7576, allocations: 41.69 kB / 482.7 MB, free: 5.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.7581, allocations: 324.3 kB / 483.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.7584, allocations: 165.6 kB / 483.2 MB, free: 5.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.7585, allocations: 12 kB / 483.2 MB, free: 5.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003001/0.7588, allocations: 378.8 kB / 483.6 MB, free: 4.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/0.7598, allocations: 197.1 kB / 483.8 MB, free: 4.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.7609, allocations: 303.8 kB / 484.1 MB, free: 4.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009927/0.7619, allocations: 229.3 kB / 484.3 MB, free: 3.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.7619, allocations: 0 / 484.3 MB, free: 3.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002648/0.7646, allocations: 0.6101 MB / 484.9 MB, free: 3.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006271/0.7653, allocations: 1.052 MB / 486 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.7653, allocations: 4 kB / 486 MB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/0.7654, allocations: 8 kB / 486 MB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.7674, allocations: 151.8 kB / 486.1 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.279e-05/0.7675, allocations: 7.984 kB / 486.1 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.7692, allocations: 91.62 kB / 486.2 MB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.7694, allocations: 20 kB / 486.2 MB, free: 1.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.7694, allocations: 7.938 kB / 486.3 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002343/0.7718, allocations: 0.5116 MB / 486.8 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.7718, allocations: 4 kB / 486.8 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.7719, allocations: 4 kB / 486.8 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.7738, allocations: 144.5 kB / 486.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.7739, allocations: 4 kB / 486.9 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.7755, allocations: 87.67 kB / 487 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7756, allocations: 20 kB / 487 MB, free: 1.188 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.0003173/0.7759, allocations: 134.7 kB / 487.2 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.7763, allocations: 75.16 kB / 487.2 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.7767, allocations: 85.41 kB / 487.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.7767, allocations: 5.031 kB / 487.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7768, allocations: 0 / 487.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7768, allocations: 3.953 kB / 487.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.7786, allocations: 0.7868 MB / 488.1 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.7787, allocations: 4 kB / 488.1 MB, free: 36 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.7801, allocations: 115.9 kB / 488.2 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.7801, allocations: 0 / 488.2 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/0.7802, allocations: 16 kB / 488.2 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.7802, allocations: 3.953 kB / 488.2 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.7802, allocations: 4 kB / 488.2 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.7824, allocations: 0.9651 MB / 489.2 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.7828, allocations: 197.6 kB / 489.4 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.783, allocations: 12 kB / 489.4 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7841, allocations: 67.94 kB / 489.5 MB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.7843, allocations: 39.88 kB / 489.5 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.7843, allocations: 12 kB / 489.5 MB, free: 14.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008256/0.7852, allocations: 399.2 kB / 489.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7852, allocations: 0 / 489.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001236/0.7864, allocations: 192 kB / 490.1 MB, free: 13.99 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.002689/0.7891, allocations: 1.683 MB / 491.8 MB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.7914, allocations: 0.7416 MB / 492.5 MB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7914, allocations: 1.25 kB / 492.5 MB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.7921, allocations: 215.8 kB / 492.7 MB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.7936, allocations: 163 kB / 492.9 MB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.798, allocations: 1.305 MB / 494.2 MB, free: 9.805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.7987, allocations: 0.9506 MB / 495.2 MB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001296/0.8, allocations: 190.7 kB / 495.3 MB, free: 8.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.8006, allocations: 235.3 kB / 495.6 MB, free: 8.406 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8006, allocations: 0 / 495.6 MB, free: 8.406 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04944/0.8501, allocations: 13.55 MB / 0.4972 GB, free: 10.93 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.8504, allocations: 157.3 kB / 0.4973 GB, free: 10.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/3.695, allocations: 0 / 0.4973 GB, free: 10.7 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