Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.068e-05, allocations: 0 / 299.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3914, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5446, allocations: 81.69 MB / 436 MB, free: 0.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5449, allocations: 63.98 kB / 436.1 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02187/0.5668, allocations: 4.459 MB / 440.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5669, allocations: 3.938 kB / 440.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.5669, allocations: 4 kB / 440.5 MB, free: 12.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008821/0.5678, allocations: 470.3 kB / 441 MB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5678, allocations: 8.031 kB / 441 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.568, allocations: 39.59 kB / 441 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.5683, allocations: 222.8 kB / 441.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5684, allocations: 7.938 kB / 441.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.5684, allocations: 20 kB / 441.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004115/0.5689, allocations: 112.8 kB / 441.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.5693, allocations: 181.9 kB / 441.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.5694, allocations: 3.906 kB / 441.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.5694, allocations: 4 kB / 441.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5694, allocations: 11.95 kB / 441.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.5713, allocations: 0.944 MB / 442.5 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.5717, allocations: 199.8 kB / 442.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.5719, allocations: 71.38 kB / 442.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.572, allocations: 480 / 442.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.572, allocations: 42.66 kB / 442.8 MB, free: 9.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.572, allocations: 3.938 kB / 442.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001713/0.5737, allocations: 0.9242 MB / 443.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.5738, allocations: 128.5 kB / 443.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.5741, allocations: 153.6 kB / 444.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.5741, allocations: 25.7 kB / 444.1 MB, free: 8.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5742, allocations: 156.2 kB / 444.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5744, allocations: 102.5 kB / 444.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.5744, allocations: 0 / 444.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5746, allocations: 330.8 kB / 444.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.5747, allocations: 52.75 kB / 444.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.575, allocations: 173.4 kB / 444.9 MB, free: 7.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.5753, allocations: 87.92 kB / 445 MB, free: 7.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5753, allocations: 0 / 445 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006696/0.576, allocations: 257.3 kB / 445.2 MB, free: 6.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.576, allocations: 12.06 kB / 445.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.576, allocations: 4 kB / 445.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.5761, allocations: 11.95 kB / 445.2 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.5767, allocations: 83.83 kB / 445.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.5767, allocations: 8.547 kB / 445.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.577, allocations: 7.906 kB / 445.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.577, allocations: 16 kB / 445.4 MB, free: 6.777 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001286/0.5772, allocations: 116.8 kB / 445.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005146/0.5777, allocations: 173.4 kB / 445.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.5778, allocations: 35.67 kB / 445.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.5781, allocations: 95.39 kB / 445.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5781, allocations: 4 kB / 445.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5781, allocations: 0 / 445.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5782, allocations: 3.984 kB / 445.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.5797, allocations: 0.721 MB / 446.5 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.5798, allocations: 4 kB / 446.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.5804, allocations: 67.91 kB / 446.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.5805, allocations: 4 kB / 446.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.5805, allocations: 7.984 kB / 446.6 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/0.5805, allocations: 8.125 kB / 446.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5806, allocations: 8 kB / 446.6 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.5815, allocations: 0.7133 MB / 447.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5816, allocations: 96.91 kB / 447.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.5817, allocations: 7.984 kB / 447.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.582, allocations: 7.953 kB / 447.4 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.5821, allocations: 15.98 kB / 447.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.5821, allocations: 8 kB / 447.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.5823, allocations: 132.3 kB / 447.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5823, allocations: 0 / 447.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007628/0.5831, allocations: 48 kB / 447.6 MB, free: 4.309 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001372/0.5844, allocations: 1.865 MB / 449.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.585, allocations: 172.3 kB / 449.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.585, allocations: 4.062 kB / 449.6 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.5852, allocations: 75.81 kB / 449.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.586, allocations: 40.11 kB / 449.8 MB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.5884, allocations: 0.8651 MB / 450.6 MB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.5889, allocations: 0.7637 MB / 451.4 MB, free: 364 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.5891, allocations: 26.06 kB / 451.4 MB, free: 340 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.5893, allocations: 71.36 kB / 451.5 MB, free: 268 kB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5893, allocations: 0 / 451.5 MB, free: 268 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04617/0.6355, allocations: 3.853 MB / 455.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/0.6359, allocations: 127.5 kB / 455.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.069, allocations: 3.938 kB / 455.5 MB, free: 12.24 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat