Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.95e-05, allocations: 4 kB / 299.5 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4677, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.6401, allocations: 81.81 MB / 436.1 MB, free: 416 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.6404, allocations: 67.97 kB / 436.2 MB, free: 348 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.6588, allocations: 4.087 MB / 440.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6589, allocations: 0 / 440.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.526e-05/0.6589, allocations: 4 kB / 440.3 MB, free: 12.25 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009018/0.6599, allocations: 466.3 kB / 440.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.6599, allocations: 8.031 kB / 440.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.197e-05/0.66, allocations: 27.67 kB / 440.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.6604, allocations: 231.1 kB / 441 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.6604, allocations: 8 kB / 441 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.6605, allocations: 19.98 kB / 441 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003276/0.6608, allocations: 92.86 kB / 441.1 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.6613, allocations: 193.7 kB / 441.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.6613, allocations: 0 / 441.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.6614, allocations: 4 kB / 441.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.6614, allocations: 7.953 kB / 441.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.6634, allocations: 0.9881 MB / 442.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.6638, allocations: 156 kB / 442.5 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.6639, allocations: 43.7 kB / 442.5 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.6639, allocations: 3.984 kB / 442.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.664, allocations: 42.56 kB / 442.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.066e-06/0.664, allocations: 0 / 442.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000421/0.6644, allocations: 109.3 kB / 442.7 MB, free: 9.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.6645, allocations: 128.5 kB / 442.8 MB, free: 9.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.6647, allocations: 153.4 kB / 442.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.6648, allocations: 25.7 kB / 443 MB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.6649, allocations: 163.9 kB / 443.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.665, allocations: 59.19 kB / 443.2 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/0.665, allocations: 0 / 443.2 MB, free: 9.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6652, allocations: 326.8 kB / 443.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.6653, allocations: 36 kB / 443.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.6655, allocations: 146.5 kB / 443.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.6657, allocations: 63.86 kB / 443.7 MB, free: 8.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6658, allocations: 0 / 443.7 MB, free: 8.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000507/0.6663, allocations: 197.2 kB / 443.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.6663, allocations: 13.55 kB / 444 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6663, allocations: 4 kB / 444 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.6664, allocations: 4 kB / 444 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.6668, allocations: 63.91 kB / 444 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.6668, allocations: 8 kB / 444 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.6671, allocations: 12.28 kB / 444 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.6671, allocations: 15.94 kB / 444.1 MB, free: 8.129 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 (31): * Single equations (assignments): 31 * 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.0001223/0.6672, allocations: 124.8 kB / 444.2 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003396/0.6676, allocations: 105.4 kB / 444.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6677, allocations: 15.81 kB / 444.3 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.6679, allocations: 75.42 kB / 444.4 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.6679, allocations: 4 kB / 444.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.668, allocations: 8 kB / 444.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.668, allocations: 0 / 444.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.6686, allocations: 230 kB / 444.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6687, allocations: 0 / 444.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.6691, allocations: 43.97 kB / 444.7 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.6692, allocations: 0 / 444.7 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.6692, allocations: 8 kB / 444.7 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6692, allocations: 3.938 kB / 444.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6692, allocations: 4 kB / 444.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.6698, allocations: 0.4986 MB / 445.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/0.6699, allocations: 93.14 kB / 445.3 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.67, allocations: 7.938 kB / 445.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.6703, allocations: 0 / 445.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.6703, allocations: 19.92 kB / 445.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6704, allocations: 8 kB / 445.3 MB, free: 6.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.6705, allocations: 128.8 kB / 445.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6705, allocations: 0 / 445.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007076/0.6713, allocations: 51.84 kB / 445.5 MB, free: 6.605 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001021/0.6723, allocations: 1.243 MB / 446.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.6727, allocations: 109.6 kB / 446.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6727, allocations: 0 / 446.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/0.6728, allocations: 44 kB / 446.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.6736, allocations: 37.25 kB / 446.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.6761, allocations: 0.7865 MB / 447.7 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.6767, allocations: 0.7479 MB / 448.4 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00018/0.6769, allocations: 18.06 kB / 448.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.6771, allocations: 63.42 kB / 448.5 MB, free: 3.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6771, allocations: 0 / 448.5 MB, free: 3.449 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.7152, allocations: 3.14 MB / 451.7 MB, free: 340 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/0.7156, allocations: 123.9 kB / 451.8 MB, free: 144 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.126, allocations: 0 / 451.8 MB, free: 144 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking_res.mat does not exist to compare? outputFormat=mat