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 2.033/2.033, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.276e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5309, allocations: 88.22 MB / 410.1 MB, free: 1.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.5313, allocations: 70.97 kB / 410.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2686/0.7999, allocations: 57.85 MB / 468 MB, free: 7.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8, allocations: 0 / 468 MB, free: 7.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001594/0.8002, allocations: 52 kB / 468 MB, free: 7.293 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.0105/0.8107, allocations: 2.591 MB / 470.6 MB, free: 4.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.8108, allocations: 8.031 kB / 470.6 MB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002181/0.813, allocations: 0.4905 MB / 471.1 MB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.8291, allocations: 1.978 MB / 473.1 MB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.843, allocations: 3.33 MB / 476.4 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/0.8434, allocations: 184.7 kB / 476.6 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.8449, allocations: 247.9 kB / 476.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.8642, allocations: 6.776 MB / 483.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.8645, allocations: 47.53 kB / 483.7 MB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009398/0.8654, allocations: 119.9 kB / 483.8 MB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.8672, allocations: 0.7189 MB / 484.5 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.8845, allocations: 5.614 MB / 490.1 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3371/1.222, allocations: 33.5 MB / 0.5113 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/1.229, allocations: 2.071 MB / 0.5134 GB, free: 87.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/1.231, allocations: 1.02 MB / 0.5144 GB, free: 87.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/1.231, allocations: 14.58 kB / 0.5144 GB, free: 87.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.231, allocations: 46.69 kB / 0.5144 GB, free: 87.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 4.829e-06/1.231, allocations: 0 / 0.5144 GB, free: 87.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.02285/1.254, allocations: 5.142 MB / 0.5194 GB, free: 86.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.254, allocations: 139.9 kB / 0.5196 GB, free: 85.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006796/1.261, allocations: 2.538 MB / 0.5221 GB, free: 85.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/1.261, allocations: 43.95 kB / 0.5221 GB, free: 85.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.263, allocations: 2.086 MB / 0.5241 GB, free: 84.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007492/1.264, allocations: 457.2 kB / 0.5246 GB, free: 84.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004727/1.265, allocations: 88.12 kB / 0.5247 GB, free: 84.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003049/1.265, allocations: 0.4946 MB / 0.5251 GB, free: 83.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/1.269, allocations: 1.36 MB / 0.5265 GB, free: 83.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005668/1.274, allocations: 4.158 MB / 0.5305 GB, free: 80.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005591/1.28, allocations: 2.381 MB / 0.5329 GB, free: 80.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/1.28, allocations: 32.44 kB / 0.5329 GB, free: 80.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01387/1.294, allocations: 4.977 MB / 0.5377 GB, free: 79.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/1.294, allocations: 54.69 kB / 0.5378 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/1.294, allocations: 98.78 kB / 0.5379 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/1.295, allocations: 148.2 kB / 0.538 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/1.301, allocations: 1.076 MB / 0.5391 GB, free: 79.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002224/1.302, allocations: 197.7 kB / 0.5393 GB, free: 79.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005646/1.307, allocations: 287.5 kB / 0.5395 GB, free: 79.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.309, allocations: 282 kB / 0.5398 GB, free: 79.36 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.001016/1.31, allocations: 457.1 kB / 0.5403 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008177/1.31, allocations: 240 kB / 0.5405 GB, free: 78.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/1.314, allocations: 1.236 MB / 0.5417 GB, free: 78.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-05/1.314, allocations: 13.97 kB / 0.5417 GB, free: 78.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.314, allocations: 0 / 0.5417 GB, free: 78.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/1.314, allocations: 7.25 kB / 0.5417 GB, free: 78.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/1.325, allocations: 3.988 MB / 0.5456 GB, free: 76.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.325, allocations: 4 kB / 0.5456 GB, free: 76.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.327, allocations: 216.7 kB / 0.5458 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/1.327, allocations: 3.094 kB / 0.5458 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/1.327, allocations: 19.08 kB / 0.5458 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/1.327, allocations: 3.562 kB / 0.5458 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.327, allocations: 4.75 kB / 0.5458 GB, free: 76.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/1.331, allocations: 2.058 MB / 0.5479 GB, free: 75.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.333, allocations: 453.5 kB / 0.5483 GB, free: 75.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007795/1.334, allocations: 19.45 kB / 0.5483 GB, free: 75.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.336, allocations: 76.28 kB / 0.5484 GB, free: 75.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/1.336, allocations: 55.41 kB / 0.5484 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.336, allocations: 34.17 kB / 0.5485 GB, free: 75.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00435/1.341, allocations: 1.756 MB / 0.5502 GB, free: 74.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.341, allocations: 6.188 kB / 0.5502 GB, free: 74.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00559/1.346, allocations: 0.6469 MB / 0.5508 GB, free: 74.74 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.004732/1.351, allocations: 2.884 MB / 0.5536 GB, free: 73.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007145/1.358, allocations: 3.018 MB / 0.5566 GB, free: 72.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.358, allocations: 448 / 0.5566 GB, free: 72.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.36, allocations: 0.7792 MB / 0.5573 GB, free: 71.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/1.363, allocations: 233.1 kB / 0.5576 GB, free: 71.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.381, allocations: 5.529 MB / 0.563 GB, free: 69.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003491/1.385, allocations: 2.259 MB / 0.5652 GB, free: 68.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/1.388, allocations: 1.119 MB / 0.5663 GB, free: 67.78 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/1.388, allocations: 0 / 0.5663 GB, free: 67.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.606/4.994, allocations: 51.45 MB / 0.6165 GB, free: 27.01 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