Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.172e-05, allocations: 0 / 305 MB, free: 5.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3986, allocations: 54.86 MB / 359.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.5828, allocations: 95.03 MB / 454.9 MB, free: 1.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.5832, allocations: 72.92 kB / 454.9 MB, free: 1.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2797/0.8629, allocations: 57.85 MB / 0.5008 GB, free: 7.602 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.863, allocations: 3.938 kB / 0.5008 GB, free: 7.598 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001409/0.8631, allocations: 51.98 kB / 0.5008 GB, free: 7.547 MB / 442.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.0097/0.8728, allocations: 2.591 MB / 0.5034 GB, free: 4.898 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.8729, allocations: 8.031 kB / 0.5034 GB, free: 4.891 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00172/0.8747, allocations: 498.3 kB / 0.5038 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.8907, allocations: 1.97 MB / 0.5058 GB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/0.9043, allocations: 3.345 MB / 0.509 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.9046, allocations: 180.8 kB / 0.5092 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.906, allocations: 239.9 kB / 0.5094 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.9241, allocations: 6.788 MB / 0.5161 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.9243, allocations: 43.53 kB / 0.5161 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007117/0.925, allocations: 127.9 kB / 0.5162 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/0.9267, allocations: 0.715 MB / 0.5169 GB, free: 6.129 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.9435, allocations: 5.61 MB / 0.5224 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3663/1.31, allocations: 33.58 MB / 0.5552 GB, free: 89.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/1.321, allocations: 2.076 MB / 0.5572 GB, free: 88.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/1.324, allocations: 1.022 MB / 0.5582 GB, free: 88.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/1.324, allocations: 178.1 kB / 0.5584 GB, free: 88.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.324, allocations: 48.47 kB / 0.5584 GB, free: 88.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=100): time 4.739e-06/1.324, allocations: 0 / 0.5584 GB, free: 88.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=112): time 0.02596/1.35, allocations: 5.144 MB / 0.5635 GB, free: 86.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/1.351, allocations: 144 kB / 0.5636 GB, free: 86.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00575/1.356, allocations: 2.539 MB / 0.5661 GB, free: 85.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/1.357, allocations: 39.25 kB / 0.5661 GB, free: 85.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.358, allocations: 2.085 MB / 0.5682 GB, free: 84.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006791/1.359, allocations: 455.8 kB / 0.5686 GB, free: 84.03 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/1.359, allocations: 85.19 kB / 0.5687 GB, free: 83.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/1.36, allocations: 0.4945 MB / 0.5692 GB, free: 83.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/1.363, allocations: 1.355 MB / 0.5705 GB, free: 83.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004601/1.367, allocations: 4.153 MB / 0.5745 GB, free: 78.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004919/1.372, allocations: 2.373 MB / 0.5769 GB, free: 78.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-05/1.373, allocations: 30.56 kB / 0.5769 GB, free: 78.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01288/1.385, allocations: 4.979 MB / 0.5817 GB, free: 76.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/1.386, allocations: 53.38 kB / 0.5818 GB, free: 76.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.386, allocations: 99.25 kB / 0.5819 GB, free: 76.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/1.386, allocations: 147.9 kB / 0.582 GB, free: 76.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006589/1.393, allocations: 1.08 MB / 0.5831 GB, free: 76.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002011/1.393, allocations: 204.1 kB / 0.5833 GB, free: 76.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/1.398, allocations: 289 kB / 0.5836 GB, free: 76.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/1.399, allocations: 276.8 kB / 0.5838 GB, free: 76.41 MB / 458.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.0008421/1.4, allocations: 451.3 kB / 0.5843 GB, free: 76.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000697/1.401, allocations: 235.4 kB / 0.5845 GB, free: 75.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/1.404, allocations: 1.21 MB / 0.5857 GB, free: 75.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.832e-05/1.404, allocations: 11.09 kB / 0.5857 GB, free: 75.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.404, allocations: 4.469 kB / 0.5857 GB, free: 75.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/1.404, allocations: 11.33 kB / 0.5857 GB, free: 75.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.416, allocations: 4.387 MB / 0.59 GB, free: 73.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.416, allocations: 7.188 kB / 0.59 GB, free: 73.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.418, allocations: 214.5 kB / 0.5902 GB, free: 73.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/1.418, allocations: 10.81 kB / 0.5902 GB, free: 73.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/1.418, allocations: 32.86 kB / 0.5902 GB, free: 73.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/1.418, allocations: 10.94 kB / 0.5902 GB, free: 73.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.418, allocations: 7.375 kB / 0.5902 GB, free: 73.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/1.422, allocations: 2.563 MB / 0.5927 GB, free: 72.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.423, allocations: 467.2 kB / 0.5932 GB, free: 71.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/1.424, allocations: 18.66 kB / 0.5932 GB, free: 71.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.426, allocations: 80.09 kB / 0.5933 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.426, allocations: 65.84 kB / 0.5933 GB, free: 71.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.426, allocations: 37.91 kB / 0.5934 GB, free: 71.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003622/1.429, allocations: 1.771 MB / 0.5951 GB, free: 71.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.43, allocations: 0 / 0.5951 GB, free: 71.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004924/1.434, allocations: 0.6333 MB / 0.5957 GB, free: 70.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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.004592/1.439, allocations: 4.353 MB / 0.6 GB, free: 67.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006598/1.446, allocations: 3.017 MB / 0.6029 GB, free: 66.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.446, allocations: 4.078 kB / 0.6029 GB, free: 66.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/1.447, allocations: 0.7657 MB / 0.6037 GB, free: 66.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.45, allocations: 252.3 kB / 0.6039 GB, free: 66.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/1.473, allocations: 5.718 MB / 0.6095 GB, free: 64.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/1.477, allocations: 2.269 MB / 0.6117 GB, free: 63.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003457/1.48, allocations: 1.114 MB / 0.6128 GB, free: 62.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/1.48, allocations: 0 / 0.6128 GB, free: 62.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.321/4.801, allocations: 51.17 MB / 0.6628 GB, free: 16.54 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat