Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.709/2.709, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.323e-05, allocations: 0 / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4356, allocations: 58.84 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/0.6085, allocations: 89.52 MB / 471.8 MB, free: 2.863 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.6089, allocations: 63.97 kB / 471.9 MB, free: 2.801 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02745/0.6363, allocations: 6.073 MB / 478 MB, free: 12.72 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6364, allocations: 0 / 478 MB, free: 12.72 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.089e-05/0.6364, allocations: 8 kB / 478 MB, free: 12.71 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001133/0.6376, allocations: 0.5226 MB / 478.5 MB, free: 12.14 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.6376, allocations: 8.031 kB / 478.5 MB, free: 12.14 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.6378, allocations: 66.53 kB / 478.6 MB, free: 12.06 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.6381, allocations: 47.83 kB / 478.6 MB, free: 12.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.6385, allocations: 263.7 kB / 478.9 MB, free: 11.72 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.6386, allocations: 28.72 kB / 478.9 MB, free: 11.69 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.6387, allocations: 35.98 kB / 478.9 MB, free: 11.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.6394, allocations: 282.8 kB / 479.2 MB, free: 11.35 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.6394, allocations: 7.906 kB / 479.2 MB, free: 11.34 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.6395, allocations: 16 kB / 479.2 MB, free: 11.33 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.6395, allocations: 8 kB / 479.2 MB, free: 11.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.64, allocations: 164.3 kB / 479.4 MB, free: 11.16 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.643, allocations: 1.337 MB / 480.7 MB, free: 9.719 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.6437, allocations: 238.1 kB / 481 MB, free: 9.441 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.6439, allocations: 72.3 kB / 481 MB, free: 9.355 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.6439, allocations: 4.156 kB / 481 MB, free: 9.352 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.6439, allocations: 46.48 kB / 481.1 MB, free: 9.297 MB / 410.8 MB Notification: Performance of pre-optimization done (n=22): time 3.907e-06/0.644, allocations: 4 kB / 481.1 MB, free: 9.293 MB / 410.8 MB Notification: Performance of matching and sorting (n=22): time 0.0006193/0.6446, allocations: 165.3 kB / 481.2 MB, free: 9.125 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6447, allocations: 166.2 kB / 481.4 MB, free: 8.926 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.645, allocations: 191.1 kB / 481.6 MB, free: 8.727 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.6451, allocations: 25.7 kB / 481.6 MB, free: 8.695 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.6452, allocations: 187.8 kB / 481.8 MB, free: 8.508 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.6454, allocations: 94.62 kB / 481.9 MB, free: 8.414 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.6454, allocations: 12 kB / 481.9 MB, free: 8.402 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6456, allocations: 334.8 kB / 482.2 MB, free: 8.066 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.6458, allocations: 64 kB / 482.3 MB, free: 8.004 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.6461, allocations: 198.5 kB / 482.5 MB, free: 7.746 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.6464, allocations: 95.84 kB / 482.6 MB, free: 7.652 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.6464, allocations: 7.938 kB / 482.6 MB, free: 7.645 MB / 410.8 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007324/0.6471, allocations: 293 kB / 482.9 MB, free: 7.352 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.6472, allocations: 8 kB / 482.9 MB, free: 7.344 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.6472, allocations: 7.938 kB / 482.9 MB, free: 7.336 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.6472, allocations: 8.531 kB / 482.9 MB, free: 7.328 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.6478, allocations: 83.86 kB / 483 MB, free: 7.246 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/0.6479, allocations: 19.92 kB / 483 MB, free: 7.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.6482, allocations: 35.69 kB / 483 MB, free: 7.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6482, allocations: 12 kB / 483 MB, free: 7.18 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001325/0.6484, allocations: 128.9 kB / 483.2 MB, free: 7.047 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.6485, allocations: 23.72 kB / 483.2 MB, free: 7.023 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.6488, allocations: 91.47 kB / 483.3 MB, free: 6.926 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.6489, allocations: 7.984 kB / 483.3 MB, free: 6.918 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.6489, allocations: 11.95 kB / 483.3 MB, free: 6.906 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6489, allocations: 7.984 kB / 483.3 MB, free: 6.898 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.6498, allocations: 305.4 kB / 483.6 MB, free: 6.551 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6498, allocations: 4 kB / 483.6 MB, free: 6.547 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.6505, allocations: 59.97 kB / 483.7 MB, free: 6.488 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.6505, allocations: 7.938 kB / 483.7 MB, free: 6.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.6506, allocations: 11.98 kB / 483.7 MB, free: 6.469 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.6506, allocations: 0 / 483.7 MB, free: 6.469 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6506, allocations: 0 / 483.7 MB, free: 6.469 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/0.6514, allocations: 0.6714 MB / 484.4 MB, free: 5.75 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.6515, allocations: 100.8 kB / 484.5 MB, free: 5.633 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.6516, allocations: 12 kB / 484.5 MB, free: 5.621 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.652, allocations: 4 kB / 484.5 MB, free: 5.617 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.6521, allocations: 15.92 kB / 484.5 MB, free: 5.602 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.6521, allocations: 15.98 kB / 484.5 MB, free: 5.586 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001903/0.6523, allocations: 145.6 kB / 484.7 MB, free: 5.445 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6523, allocations: 96 / 484.7 MB, free: 5.445 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008273/0.6531, allocations: 87.69 kB / 484.7 MB, free: 5.359 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001297/0.6545, allocations: 1.496 MB / 486.2 MB, free: 3.816 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.655, allocations: 175.6 kB / 486.4 MB, free: 3.645 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.655, allocations: 0 / 486.4 MB, free: 3.645 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.6552, allocations: 72.98 kB / 486.5 MB, free: 3.574 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.6561, allocations: 48.92 kB / 486.5 MB, free: 3.523 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.6592, allocations: 1.104 MB / 487.6 MB, free: 2.375 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.6597, allocations: 0.7797 MB / 488.4 MB, free: 1.566 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.66, allocations: 30.97 kB / 488.4 MB, free: 1.535 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.6602, allocations: 91.34 kB / 488.5 MB, free: 1.445 MB / 410.8 MB Notification: Performance of SimCode: time 1.803e-06/0.6602, allocations: 0 / 488.5 MB, free: 1.445 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.6943, allocations: 4.811 MB / 493.3 MB, free: 12.71 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/0.6948, allocations: 139.3 kB / 493.5 MB, free: 12.49 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.424, allocations: 0 / 493.5 MB, free: 12.49 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat does not exist to compare? outputFormat=mat