Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.194e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3865, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.5746, allocations: 88.89 MB / 443.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.5749, allocations: 63.97 kB / 443.4 MB, free: 6.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08819/0.6632, allocations: 13.61 MB / 457 MB, free: 8.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6632, allocations: 3.938 kB / 457 MB, free: 8.465 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.636e-05/0.6633, allocations: 28.09 kB / 457 MB, free: 8.438 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.003112/0.6664, allocations: 0.8997 MB / 457.9 MB, free: 7.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.6665, allocations: 8.031 kB / 457.9 MB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.6668, allocations: 86.97 kB / 458 MB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.6684, allocations: 0.511 MB / 458.5 MB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.6685, allocations: 16 kB / 458.5 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.6687, allocations: 39.89 kB / 458.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/0.6698, allocations: 313.4 kB / 458.9 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.671, allocations: 425.1 kB / 459.3 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.6711, allocations: 4 kB / 459.3 MB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.6711, allocations: 0 / 459.3 MB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.6712, allocations: 8 kB / 459.3 MB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/0.6773, allocations: 1.873 MB / 461.2 MB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6788, allocations: 454.4 kB / 461.6 MB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.6793, allocations: 190.4 kB / 461.8 MB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.792e-05/0.6794, allocations: 4 kB / 461.8 MB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.6795, allocations: 42.56 kB / 461.9 MB, free: 3.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.478e-06/0.6795, allocations: 3.938 kB / 461.9 MB, free: 3.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002339/0.6818, allocations: 0.7246 MB / 462.6 MB, free: 2.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.682, allocations: 136.5 kB / 462.7 MB, free: 2.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.683, allocations: 459.5 kB / 463.2 MB, free: 2.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.6832, allocations: 25.7 kB / 463.2 MB, free: 1.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.6836, allocations: 320.4 kB / 463.5 MB, free: 1.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.6838, allocations: 165.6 kB / 463.7 MB, free: 1.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.6839, allocations: 0 / 463.7 MB, free: 1.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.6842, allocations: 382.7 kB / 464 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.6848, allocations: 189.1 kB / 464.2 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/0.6856, allocations: 291.7 kB / 464.5 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.6863, allocations: 217.3 kB / 464.7 MB, free: 412 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6863, allocations: 0 / 464.7 MB, free: 412 kB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.3625/1.049, allocations: 0.5526 MB / 465.3 MB, free: 95.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003653/1.049, allocations: 1.054 MB / 466.3 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/1.049, allocations: 3.156 kB / 466.3 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.682e-05/1.049, allocations: 5.688 kB / 466.3 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.051, allocations: 148.9 kB / 466.5 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/1.051, allocations: 8.516 kB / 466.5 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.053, allocations: 77.19 kB / 466.6 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/1.053, allocations: 18.59 kB / 466.6 MB, free: 94.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.053, allocations: 5.031 kB / 466.6 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001774/1.054, allocations: 470.3 kB / 467.1 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.054, allocations: 7.812 kB / 467.1 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.054, allocations: 5.875 kB / 467.1 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.056, allocations: 147.4 kB / 467.2 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.056, allocations: 6.078 kB / 467.2 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.057, allocations: 75.09 kB / 467.3 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/1.057, allocations: 24.36 kB / 467.3 MB, free: 94.31 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.0002246/1.057, allocations: 116.7 kB / 467.4 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001399/1.059, allocations: 425.8 kB / 467.8 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/1.059, allocations: 71.05 kB / 467.9 MB, free: 94.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/1.059, allocations: 76.81 kB / 468 MB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.059, allocations: 5.094 kB / 468 MB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/1.059, allocations: 6.438 kB / 468 MB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.059, allocations: 6.031 kB / 468 MB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/1.061, allocations: 0.7189 MB / 468.7 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.061, allocations: 1.438 kB / 468.7 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.063, allocations: 117.5 kB / 468.8 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.063, allocations: 3.094 kB / 468.8 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/1.063, allocations: 11.45 kB / 468.9 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/1.063, allocations: 3.453 kB / 468.9 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.063, allocations: 1.781 kB / 468.9 MB, free: 93.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.065, allocations: 0.9391 MB / 469.8 MB, free: 93.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/1.065, allocations: 187 kB / 470 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.065, allocations: 8.109 kB / 470 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.067, allocations: 57.48 kB / 470 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.067, allocations: 41.92 kB / 470.1 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/1.067, allocations: 9.562 kB / 470.1 MB, free: 93.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006809/1.068, allocations: 352.3 kB / 470.4 MB, free: 93.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.068, allocations: 1.562 kB / 470.4 MB, free: 93.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001317/1.069, allocations: 165 kB / 470.6 MB, free: 93.35 MB / 394.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.002222/1.071, allocations: 1.638 MB / 472.2 MB, free: 92.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/1.073, allocations: 0.7212 MB / 473 MB, free: 92.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.073, allocations: 3.828 kB / 473 MB, free: 92.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005661/1.074, allocations: 207.9 kB / 473.2 MB, free: 92.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.075, allocations: 152.1 kB / 473.3 MB, free: 92.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/1.08, allocations: 1.281 MB / 474.6 MB, free: 91.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/1.08, allocations: 0.9417 MB / 475.5 MB, free: 91.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001265/1.081, allocations: 186.5 kB / 475.7 MB, free: 91.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/1.082, allocations: 231.3 kB / 475.9 MB, free: 91.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/1.082, allocations: 0 / 475.9 MB, free: 91.17 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/1.146, allocations: 12.53 MB / 488.5 MB, free: 86.29 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002883/1.146, allocations: 134.3 kB / 488.6 MB, free: 86.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.242/4.388, allocations: 0 / 488.6 MB, free: 86.08 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat