Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 3.004/3.004, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.174e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4686, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/0.6831, allocations: 87.41 MB / 469.7 MB, free: 4.992 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.6834, allocations: 59.97 kB / 469.8 MB, free: 4.934 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05243/0.7359, allocations: 4.802 MB / 474.6 MB, free: 116 kB / 394.8 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7359, allocations: 0 / 474.6 MB, free: 116 kB / 394.8 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.736, allocations: 8.219 kB / 474.6 MB, free: 108 kB / 394.8 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.001236/0.7372, allocations: 0.5218 MB / 475.1 MB, free: 15.53 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.7373, allocations: 11.86 kB / 475.1 MB, free: 15.52 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.7374, allocations: 66.53 kB / 475.2 MB, free: 15.45 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.7375, allocations: 35.58 kB / 475.2 MB, free: 15.41 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.738, allocations: 254.1 kB / 475.5 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.738, allocations: 20.56 kB / 475.5 MB, free: 15.11 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.7381, allocations: 28 kB / 475.5 MB, free: 15.08 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.7387, allocations: 252.9 kB / 475.8 MB, free: 14.8 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.7388, allocations: 3.906 kB / 475.8 MB, free: 14.8 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.7388, allocations: 12 kB / 475.8 MB, free: 14.79 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.7389, allocations: 4 kB / 475.8 MB, free: 14.79 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.7393, allocations: 143.9 kB / 475.9 MB, free: 14.64 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.7417, allocations: 1.31 MB / 477.2 MB, free: 13.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.7423, allocations: 218.4 kB / 477.4 MB, free: 12.98 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.7425, allocations: 75.44 kB / 477.5 MB, free: 12.89 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.7426, allocations: 8.328 kB / 477.5 MB, free: 12.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.7426, allocations: 42.48 kB / 477.6 MB, free: 12.83 MB / 410.8 MB Notification: Performance of pre-optimization done (n=26): time 3.597e-06/0.7426, allocations: 4 kB / 477.6 MB, free: 12.83 MB / 410.8 MB Notification: Performance of matching and sorting (n=32): time 0.002967/0.7456, allocations: 1.396 MB / 479 MB, free: 11.22 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.7457, allocations: 132.5 kB / 479.1 MB, free: 11.06 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.746, allocations: 193.1 kB / 479.3 MB, free: 10.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.7461, allocations: 29.7 kB / 479.3 MB, free: 10.83 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.7463, allocations: 180.2 kB / 479.5 MB, free: 10.65 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.7464, allocations: 110.3 kB / 479.6 MB, free: 10.54 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.7465, allocations: 12 kB / 479.6 MB, free: 10.53 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7466, allocations: 346.8 kB / 479.9 MB, free: 10.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.7469, allocations: 68.88 kB / 480 MB, free: 10.11 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.7473, allocations: 200.6 kB / 480.2 MB, free: 9.855 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.7476, allocations: 105 kB / 480.3 MB, free: 9.754 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.7476, allocations: 4 kB / 480.3 MB, free: 9.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000862/0.7485, allocations: 332.8 kB / 480.6 MB, free: 9.418 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.7485, allocations: 8 kB / 480.6 MB, free: 9.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.7485, allocations: 4 kB / 480.6 MB, free: 9.406 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.7486, allocations: 8 kB / 480.7 MB, free: 9.398 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.7494, allocations: 104.2 kB / 480.8 MB, free: 9.297 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.7494, allocations: 15.92 kB / 480.8 MB, free: 9.281 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.7498, allocations: 27.98 kB / 480.8 MB, free: 9.254 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.7499, allocations: 20 kB / 480.8 MB, free: 9.234 MB / 410.8 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.0001462/0.75, allocations: 132.8 kB / 480.9 MB, free: 9.098 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.7502, allocations: 31.62 kB / 481 MB, free: 9.066 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.7503, allocations: 33.83 kB / 481 MB, free: 9.031 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.7503, allocations: 4 kB / 481 MB, free: 9.027 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.7503, allocations: 4 kB / 481 MB, free: 9.023 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.7503, allocations: 4.109 kB / 481 MB, free: 9.02 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.7523, allocations: 0.927 MB / 481.9 MB, free: 8.027 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7524, allocations: 0 / 481.9 MB, free: 8.027 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.7532, allocations: 91.94 kB / 482 MB, free: 7.938 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.7532, allocations: 11.89 kB / 482 MB, free: 7.926 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.087e-05/0.7533, allocations: 8 kB / 482.1 MB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.7533, allocations: 4.547 kB / 482.1 MB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7533, allocations: 0 / 482.1 MB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7544, allocations: 0.7023 MB / 482.8 MB, free: 7.156 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7546, allocations: 100.8 kB / 482.9 MB, free: 7.039 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.7547, allocations: 8.344 kB / 482.9 MB, free: 7.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.7551, allocations: 31.94 kB / 482.9 MB, free: 7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.7553, allocations: 23.97 kB / 482.9 MB, free: 6.977 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.7553, allocations: 15.92 kB / 482.9 MB, free: 6.961 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002124/0.7555, allocations: 157.3 kB / 483.1 MB, free: 6.809 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7555, allocations: 0 / 483.1 MB, free: 6.809 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007155/0.7563, allocations: 64 kB / 483.2 MB, free: 6.746 MB / 410.8 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.00166/0.7579, allocations: 1.593 MB / 484.7 MB, free: 5.102 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.7586, allocations: 217.1 kB / 485 MB, free: 4.891 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7587, allocations: 0 / 485 MB, free: 4.891 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.759, allocations: 104 kB / 485.1 MB, free: 4.789 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.7596, allocations: 35.28 kB / 485.1 MB, free: 4.758 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.762, allocations: 0.7954 MB / 485.9 MB, free: 3.914 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.7625, allocations: 0.7761 MB / 486.7 MB, free: 3.102 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002697/0.7628, allocations: 38.89 kB / 486.7 MB, free: 3.062 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.7631, allocations: 91.34 kB / 486.8 MB, free: 2.973 MB / 410.8 MB Notification: Performance of SimCode: time 9.22e-07/0.7631, allocations: 0 / 486.8 MB, free: 2.973 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.7952, allocations: 4.705 MB / 491.5 MB, free: 14.35 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/0.7956, allocations: 141.1 kB / 491.6 MB, free: 14.12 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.374, allocations: 4.062 kB / 491.6 MB, free: 14.12 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat