Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.023e-05, allocations: 0 / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5411, allocations: 76.14 MB / 398 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5414, allocations: 62.86 kB / 398.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02255/0.564, allocations: 4.712 MB / 402.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.564, allocations: 0 / 402.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.5641, allocations: 4 kB / 402.8 MB, free: 8.691 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001129/0.5652, allocations: 0.5294 MB / 403.3 MB, free: 8.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5653, allocations: 9.125 kB / 403.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.5654, allocations: 54.55 kB / 403.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.5655, allocations: 35.62 kB / 403.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.566, allocations: 254.5 kB / 403.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.5661, allocations: 16.56 kB / 403.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/0.5662, allocations: 35.98 kB / 403.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.5668, allocations: 254 kB / 403.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.5668, allocations: 3.906 kB / 403.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.5669, allocations: 12 kB / 404 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5669, allocations: 4 kB / 404 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.5673, allocations: 151.8 kB / 404.1 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.5697, allocations: 1.31 MB / 405.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.5702, allocations: 226.5 kB / 405.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.5704, allocations: 79.59 kB / 405.7 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.5705, allocations: 11.98 kB / 405.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.5706, allocations: 38.5 kB / 405.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.766e-06/0.5706, allocations: 0 / 405.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002961/0.5735, allocations: 1.397 MB / 407.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.5737, allocations: 132.5 kB / 407.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.574, allocations: 197 kB / 407.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.574, allocations: 37.7 kB / 407.5 MB, free: 3.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.5742, allocations: 172.3 kB / 407.7 MB, free: 3.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.5743, allocations: 122.2 kB / 407.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.417e-05/0.5743, allocations: 8 kB / 407.8 MB, free: 3.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5745, allocations: 342.8 kB / 408.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.5747, allocations: 72.81 kB / 408.2 MB, free: 2.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.5751, allocations: 201.5 kB / 408.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.5754, allocations: 112 kB / 408.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5754, allocations: 4 kB / 408.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008596/0.5763, allocations: 333.2 kB / 408.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5763, allocations: 4.406 kB / 408.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5763, allocations: 4.078 kB / 408.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.5764, allocations: 12 kB / 408.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.5772, allocations: 111.8 kB / 409 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.5772, allocations: 11.92 kB / 409 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.5776, allocations: 35.92 kB / 409 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.5777, allocations: 23.98 kB / 409.1 MB, free: 1.789 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001457/0.5778, allocations: 124.9 kB / 409.2 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.578, allocations: 31.62 kB / 409.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.5781, allocations: 33.83 kB / 409.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5781, allocations: 4.281 kB / 409.2 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5781, allocations: 4.125 kB / 409.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5781, allocations: 0 / 409.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.58, allocations: 0.9425 MB / 410.2 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5801, allocations: 4 kB / 410.2 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.5809, allocations: 87.88 kB / 410.3 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.5809, allocations: 0 / 410.3 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.5809, allocations: 11.95 kB / 410.3 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.5809, allocations: 4 kB / 410.3 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.581, allocations: 0 / 410.3 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.582, allocations: 0.7063 MB / 411 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.5822, allocations: 112.9 kB / 411.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.5823, allocations: 8.234 kB / 411.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.5828, allocations: 23.98 kB / 411.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.5829, allocations: 39.84 kB / 411.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.5829, allocations: 15.98 kB / 411.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.5832, allocations: 153.4 kB / 411.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5832, allocations: 3.938 kB / 411.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000653/0.5838, allocations: 72 kB / 411.4 MB, free: 15.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.00155/0.5854, allocations: 1.603 MB / 413 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.5861, allocations: 216.5 kB / 413.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5861, allocations: 0 / 413.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.5864, allocations: 104 kB / 413.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.587, allocations: 45.34 kB / 413.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.5895, allocations: 0.7913 MB / 414.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.5901, allocations: 0.7799 MB / 415 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.5904, allocations: 38.94 kB / 415 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.5906, allocations: 91.41 kB / 415.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5906, allocations: 0 / 415.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.6219, allocations: 4.725 MB / 419.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/0.6223, allocations: 146 kB / 420 MB, free: 6.594 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.284, allocations: 4 kB / 420 MB, free: 6.59 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat