Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.321e-05, allocations: 4 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3762, allocations: 54.85 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5479, allocations: 88.88 MB / 443.2 MB, free: 9.336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.5482, allocations: 71.97 kB / 443.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06787/0.6161, allocations: 13.62 MB / 456.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6162, allocations: 0 / 456.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.1e-05/0.6162, allocations: 16 kB / 456.9 MB, free: 11.6 MB / 394.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.002765/0.619, allocations: 0.8998 MB / 457.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6191, allocations: 12.03 kB / 457.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.6194, allocations: 86.97 kB / 457.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.6209, allocations: 0.5149 MB / 458.4 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.621, allocations: 15.94 kB / 458.4 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.6211, allocations: 39.89 kB / 458.5 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009938/0.6221, allocations: 317.4 kB / 458.8 MB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.6232, allocations: 421.1 kB / 459.2 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.6232, allocations: 0 / 459.2 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.6233, allocations: 0 / 459.2 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.6233, allocations: 15.98 kB / 459.2 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005419/0.6288, allocations: 1.873 MB / 461.1 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.63, allocations: 444.3 kB / 461.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.6305, allocations: 190.5 kB / 461.7 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.6306, allocations: 12.03 kB / 461.7 MB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.6307, allocations: 38.56 kB / 461.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.846e-06/0.6307, allocations: 0 / 461.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002024/0.6327, allocations: 0.7157 MB / 462.5 MB, free: 5.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.6328, allocations: 132.5 kB / 462.6 MB, free: 5.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/0.6337, allocations: 463.6 kB / 463.1 MB, free: 5.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.6337, allocations: 25.7 kB / 463.1 MB, free: 5.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.6341, allocations: 320.3 kB / 463.4 MB, free: 4.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.6343, allocations: 165.6 kB / 463.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.6344, allocations: 0 / 463.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6346, allocations: 382.7 kB / 463.9 MB, free: 4.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.6351, allocations: 181.1 kB / 464.1 MB, free: 4.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.6358, allocations: 300.3 kB / 464.4 MB, free: 3.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.6364, allocations: 217.4 kB / 464.6 MB, free: 3.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6364, allocations: 0 / 464.6 MB, free: 3.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001528/0.6379, allocations: 0.5648 MB / 465.2 MB, free: 2.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004417/0.6384, allocations: 1.047 MB / 466.2 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6384, allocations: 0 / 466.2 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.6384, allocations: 11.94 kB / 466.2 MB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.6398, allocations: 151.8 kB / 466.4 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.6398, allocations: 11.98 kB / 466.4 MB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.6409, allocations: 79.58 kB / 466.5 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.6409, allocations: 20 kB / 466.5 MB, free: 1.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.641, allocations: 5.562 kB / 466.5 MB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/0.6423, allocations: 471.6 kB / 467 MB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6424, allocations: 8.031 kB / 467 MB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6424, allocations: 4 kB / 467 MB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.6436, allocations: 139.8 kB / 467.1 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6436, allocations: 11.94 kB / 467.1 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/0.6446, allocations: 79.53 kB / 467.2 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.6447, allocations: 20 kB / 467.2 MB, free: 0.875 MB / 394.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.0001986/0.6449, allocations: 116.8 kB / 467.3 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001233/0.6461, allocations: 438.3 kB / 467.8 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.6463, allocations: 67.16 kB / 467.8 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.6466, allocations: 77.17 kB / 467.9 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.6466, allocations: 8 kB / 467.9 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6466, allocations: 0 / 467.9 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6466, allocations: 3.984 kB / 467.9 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.6483, allocations: 0.7249 MB / 468.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6483, allocations: 0 / 468.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.6497, allocations: 115.9 kB / 468.8 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.6497, allocations: 3.984 kB / 468.8 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.6498, allocations: 8 kB / 468.8 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.6498, allocations: 4 kB / 468.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6498, allocations: 0 / 468.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.6517, allocations: 0.9452 MB / 469.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.6522, allocations: 180.4 kB / 469.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.6524, allocations: 11.98 kB / 469.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6534, allocations: 59.94 kB / 470 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.6536, allocations: 39.89 kB / 470 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.6537, allocations: 12 kB / 470 MB, free: 13.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006433/0.6544, allocations: 347.2 kB / 470.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.046e-06/0.6544, allocations: 4 kB / 470.4 MB, free: 13.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001162/0.6556, allocations: 171.9 kB / 470.5 MB, free: 13.46 MB / 410.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.00235/0.6579, allocations: 1.628 MB / 472.2 MB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.6599, allocations: 0.7189 MB / 472.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.66, allocations: 1.25 kB / 472.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.6606, allocations: 211.8 kB / 473.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.6621, allocations: 158.3 kB / 473.2 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.6662, allocations: 1.28 MB / 474.5 MB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/0.6669, allocations: 0.9506 MB / 475.5 MB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001212/0.6682, allocations: 186.3 kB / 475.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.6687, allocations: 227.3 kB / 475.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6687, allocations: 0 / 475.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/0.7437, allocations: 12.52 MB / 488.4 MB, free: 11.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/0.7442, allocations: 121.8 kB / 488.5 MB, free: 11.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/3.931, allocations: 0 / 488.5 MB, free: 11.33 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat