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.952/1.952, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.472e-05/4.489e-05, allocations: 8 kB / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5468, allocations: 88.21 MB / 410 MB, free: 1.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.5471, allocations: 71.95 kB / 410.1 MB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2824/0.8294, allocations: 57.85 MB / 468 MB, free: 7.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8295, allocations: 0 / 468 MB, free: 7.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000139/0.8297, allocations: 51.98 kB / 468 MB, free: 7.305 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.009524/0.8392, allocations: 2.587 MB / 470.6 MB, free: 4.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.8393, allocations: 12.02 kB / 470.6 MB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001526/0.8408, allocations: 498.3 kB / 471.1 MB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.8563, allocations: 1.97 MB / 473.1 MB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.8701, allocations: 3.345 MB / 476.4 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/0.8704, allocations: 180.8 kB / 476.6 MB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/0.8717, allocations: 239.9 kB / 476.8 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.8892, allocations: 6.801 MB / 483.6 MB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.8894, allocations: 55.52 kB / 483.7 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006145/0.89, allocations: 123.9 kB / 483.8 MB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/0.8917, allocations: 0.7111 MB / 484.5 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.9089, allocations: 5.748 MB / 490.2 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3571/1.266, allocations: 33.49 MB / 0.5115 GB, free: 87.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006799/1.273, allocations: 2.08 MB / 0.5135 GB, free: 87.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.275, allocations: 1.026 MB / 0.5145 GB, free: 87.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/1.275, allocations: 13.5 kB / 0.5145 GB, free: 87.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.276, allocations: 47.09 kB / 0.5146 GB, free: 86.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 5.962e-06/1.276, allocations: 0 / 0.5146 GB, free: 86.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.0221/1.298, allocations: 5.144 MB / 0.5196 GB, free: 85.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.298, allocations: 144.6 kB / 0.5197 GB, free: 85.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006374/1.304, allocations: 2.539 MB / 0.5222 GB, free: 85.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/1.305, allocations: 44.8 kB / 0.5222 GB, free: 85.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001902/1.306, allocations: 2.081 MB / 0.5243 GB, free: 83.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000719/1.307, allocations: 458.5 kB / 0.5247 GB, free: 83.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/1.308, allocations: 90.47 kB / 0.5248 GB, free: 83.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003054/1.308, allocations: 0.499 MB / 0.5253 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/1.312, allocations: 1.355 MB / 0.5266 GB, free: 83.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/1.317, allocations: 4.184 MB / 0.5307 GB, free: 79.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/1.322, allocations: 2.382 MB / 0.533 GB, free: 79.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.323, allocations: 30.41 kB / 0.5331 GB, free: 79.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01307/1.336, allocations: 5.262 MB / 0.5382 GB, free: 79.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/1.336, allocations: 47.75 kB / 0.5382 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/1.336, allocations: 105.9 kB / 0.5383 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/1.336, allocations: 146.9 kB / 0.5385 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006717/1.343, allocations: 1.08 MB / 0.5395 GB, free: 79.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/1.343, allocations: 199.7 kB / 0.5397 GB, free: 79.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.349, allocations: 287.6 kB / 0.54 GB, free: 79.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.35, allocations: 278.5 kB / 0.5403 GB, free: 79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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 (548): * Single equations (assignments): 545 * 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.001012/1.351, allocations: 449.9 kB / 0.5407 GB, free: 78.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/1.352, allocations: 243.8 kB / 0.5409 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/1.355, allocations: 1.228 MB / 0.5421 GB, free: 78.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/1.355, allocations: 11.41 kB / 0.5421 GB, free: 78.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.355, allocations: 9.625 kB / 0.5421 GB, free: 78.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.355, allocations: 7.703 kB / 0.5421 GB, free: 78.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.366, allocations: 3.99 MB / 0.546 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.366, allocations: 0 / 0.546 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.368, allocations: 211.4 kB / 0.5462 GB, free: 76.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/1.368, allocations: 3.344 kB / 0.5462 GB, free: 76.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.368, allocations: 19.25 kB / 0.5463 GB, free: 76.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/1.368, allocations: 7.453 kB / 0.5463 GB, free: 76.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.368, allocations: 11.19 kB / 0.5463 GB, free: 76.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/1.372, allocations: 2.049 MB / 0.5483 GB, free: 75.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.374, allocations: 464.2 kB / 0.5487 GB, free: 75.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005598/1.374, allocations: 20.03 kB / 0.5487 GB, free: 75.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/1.376, allocations: 73.05 kB / 0.5488 GB, free: 75.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.376, allocations: 55.45 kB / 0.5489 GB, free: 75.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.377, allocations: 40.52 kB / 0.5489 GB, free: 75.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004223/1.381, allocations: 1.754 MB / 0.5506 GB, free: 74.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.381, allocations: 3.531 kB / 0.5506 GB, free: 74.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0052/1.386, allocations: 0.6412 MB / 0.5513 GB, free: 74.39 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.004519/1.391, allocations: 2.891 MB / 0.5541 GB, free: 72.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006991/1.398, allocations: 3.153 MB / 0.5572 GB, free: 71.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.398, allocations: 0.75 kB / 0.5572 GB, free: 71.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.399, allocations: 0.7789 MB / 0.5579 GB, free: 71.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.401, allocations: 241.8 kB / 0.5581 GB, free: 71.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.42, allocations: 5.539 MB / 0.5636 GB, free: 69.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.423, allocations: 2.257 MB / 0.5658 GB, free: 68.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002521/1.425, allocations: 1.116 MB / 0.5668 GB, free: 67.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/1.425, allocations: 3.938 kB / 0.5669 GB, free: 67.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.73/5.155, allocations: 52.14 MB / 0.6178 GB, free: 25.75 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