Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.948e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4227/0.5244, allocations: 87.8 MB / 404.1 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.5247, allocations: 70.7 kB / 404.2 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2577/0.7825, allocations: 56.97 MB / 461.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7825, allocations: 4 kB / 461.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001509/0.7827, allocations: 48 kB / 461.2 MB, free: 15.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.01007/0.7927, allocations: 2.591 MB / 463.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.7928, allocations: 8.031 kB / 463.8 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.8091, allocations: 1.978 MB / 465.8 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.8232, allocations: 3.337 MB / 469.1 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.8235, allocations: 84 kB / 469.2 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/0.8249, allocations: 140 kB / 469.3 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01109/0.8361, allocations: 3.956 MB / 473.3 MB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.8527, allocations: 6.249 MB / 479.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.8529, allocations: 47.52 kB / 479.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007547/0.8537, allocations: 28 kB / 479.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/0.8555, allocations: 0.7111 MB / 480.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3417/1.197, allocations: 32.13 MB / 0.5004 GB, free: 94.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/1.201, allocations: 1.946 MB / 0.5023 GB, free: 94.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/1.203, allocations: 0.9943 MB / 0.5033 GB, free: 94.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/1.203, allocations: 16.17 kB / 0.5033 GB, free: 94.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.204, allocations: 46.3 kB / 0.5034 GB, free: 94.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 5.049e-06/1.204, allocations: 0 / 0.5034 GB, free: 94.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.02071/1.224, allocations: 6.281 MB / 0.5095 GB, free: 92.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.224, allocations: 148.8 kB / 0.5096 GB, free: 92.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/1.23, allocations: 2.169 MB / 0.5118 GB, free: 92.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002773/1.23, allocations: 26.92 kB / 0.5118 GB, free: 92.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002103/1.232, allocations: 2.177 MB / 0.5139 GB, free: 91.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008164/1.233, allocations: 446.4 kB / 0.5143 GB, free: 90.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/1.234, allocations: 0 / 0.5143 GB, free: 90.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004254/1.234, allocations: 0.5053 MB / 0.5148 GB, free: 90.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/1.238, allocations: 1.308 MB / 0.5161 GB, free: 90.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005939/1.244, allocations: 4.253 MB / 0.5203 GB, free: 86.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006072/1.25, allocations: 2.367 MB / 0.5226 GB, free: 86.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000196/1.25, allocations: 33.19 kB / 0.5226 GB, free: 86.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01386/1.264, allocations: 4.822 MB / 0.5273 GB, free: 86.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.264, allocations: 53.53 kB / 0.5274 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.265, allocations: 104.8 kB / 0.5275 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/1.265, allocations: 153.6 kB / 0.5276 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007015/1.272, allocations: 1.132 MB / 0.5287 GB, free: 86.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/1.272, allocations: 208.2 kB / 0.5289 GB, free: 86.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/1.277, allocations: 207.6 kB / 0.5291 GB, free: 86.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.279, allocations: 294.1 kB / 0.5294 GB, free: 86.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (572): * Single equations (assignments): 569 * Array equations: 3 * 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.001196/1.28, allocations: 368.2 kB / 0.5297 GB, free: 85.97 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003913/1.284, allocations: 1.566 MB / 0.5313 GB, free: 85.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006365/1.284, allocations: 215.5 kB / 0.5315 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/1.288, allocations: 1.17 MB / 0.5326 GB, free: 85.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.756e-05/1.288, allocations: 11.62 kB / 0.5326 GB, free: 85.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.288, allocations: 7.453 kB / 0.5326 GB, free: 85.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.288, allocations: 7.828 kB / 0.5326 GB, free: 85.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/1.298, allocations: 3.501 MB / 0.5361 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.298, allocations: 3.531 kB / 0.5361 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.3, allocations: 214 kB / 0.5363 GB, free: 84.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/1.3, allocations: 7.922 kB / 0.5363 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/1.3, allocations: 10.03 kB / 0.5363 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/1.3, allocations: 3.688 kB / 0.5363 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.3, allocations: 7.391 kB / 0.5363 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/1.304, allocations: 1.992 MB / 0.5382 GB, free: 83.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.306, allocations: 430.6 kB / 0.5387 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006905/1.306, allocations: 6.75 kB / 0.5387 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/1.308, allocations: 65.52 kB / 0.5387 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/1.308, allocations: 52.64 kB / 0.5388 GB, free: 82.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.309, allocations: 33.06 kB / 0.5388 GB, free: 82.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00336/1.312, allocations: 1.432 MB / 0.5402 GB, free: 82.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.312, allocations: 0 / 0.5402 GB, free: 82.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005483/1.318, allocations: 0.542 MB / 0.5407 GB, free: 82.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 3 * 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.004468/1.322, allocations: 2.814 MB / 0.5435 GB, free: 80.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006589/1.329, allocations: 3.002 MB / 0.5464 GB, free: 79.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.329, allocations: 2.5 kB / 0.5464 GB, free: 79.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/1.33, allocations: 0.7506 MB / 0.5471 GB, free: 79.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.332, allocations: 194.9 kB / 0.5473 GB, free: 79.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/1.352, allocations: 5.374 MB / 0.5526 GB, free: 77.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004154/1.356, allocations: 2.26 MB / 0.5548 GB, free: 76.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002855/1.359, allocations: 1.109 MB / 0.5559 GB, free: 75.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/1.359, allocations: 0 / 0.5559 GB, free: 75.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.348/4.707, allocations: 50.41 MB / 0.6051 GB, free: 35.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat