Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.946e-05, allocations: 0 / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5259, allocations: 82.42 MB / 398.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5262, allocations: 77.62 kB / 398.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1993/0.7255, allocations: 45.87 MB / 444.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7256, allocations: 0 / 444.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001079/0.7257, allocations: 40 kB / 444.7 MB, free: 15.55 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.008439/0.7342, allocations: 2.319 MB / 447.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.7342, allocations: 12.03 kB / 447.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.748, allocations: 1.771 MB / 448.8 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004902/0.753, allocations: 1.34 MB / 450.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.7532, allocations: 76 kB / 450.2 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/0.7546, allocations: 136 kB / 450.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01014/0.7647, allocations: 3.721 MB / 454.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.7811, allocations: 6.056 MB / 460.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001641/0.7813, allocations: 51.53 kB / 460.2 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/0.7824, allocations: 24 kB / 460.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/0.7841, allocations: 0.6955 MB / 460.9 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04557/0.8297, allocations: 30.21 MB / 491.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.8339, allocations: 1.986 MB / 493.1 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.8359, allocations: 0.9555 MB / 494.1 MB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.8362, allocations: 47.89 kB / 494.1 MB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.8363, allocations: 42.56 kB / 494.2 MB, free: 12.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.04e-06/0.8363, allocations: 0 / 494.2 MB, free: 12.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=117): time 0.03068/0.867, allocations: 8.396 MB / 0.4908 GB, free: 3.582 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.8671, allocations: 149.1 kB / 0.4909 GB, free: 3.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.8719, allocations: 1.987 MB / 0.4929 GB, free: 1.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.8722, allocations: 29.7 kB / 0.4929 GB, free: 1.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2954/1.168, allocations: 2.068 MB / 0.4949 GB, free: 125 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008056/1.168, allocations: 465.7 kB / 0.4954 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/1.169, allocations: 0 / 0.4954 GB, free: 124.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005805/1.17, allocations: 0.5297 MB / 0.4959 GB, free: 124.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004027/1.174, allocations: 1.303 MB / 0.4972 GB, free: 124.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/1.18, allocations: 4.177 MB / 0.5012 GB, free: 120.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/1.186, allocations: 2.345 MB / 0.5035 GB, free: 120.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/1.186, allocations: 31.09 kB / 0.5036 GB, free: 120.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.0163/1.202, allocations: 5.079 MB / 0.5085 GB, free: 120.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/1.203, allocations: 50.03 kB / 0.5086 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.203, allocations: 107.2 kB / 0.5087 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/1.205, allocations: 463.4 kB / 0.5091 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007073/1.212, allocations: 1.068 MB / 0.5101 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/1.218, allocations: 3.148 MB / 0.5132 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/1.223, allocations: 157.2 kB / 0.5134 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.224, allocations: 289.5 kB / 0.5136 GB, free: 118.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 556 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001133/1.225, allocations: 352.3 kB / 0.514 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005275/1.23, allocations: 1.854 MB / 0.5158 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006713/1.231, allocations: 206.7 kB / 0.516 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/1.235, allocations: 1.405 MB / 0.5174 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-05/1.235, allocations: 17.42 kB / 0.5174 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.235, allocations: 3.75 kB / 0.5174 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.235, allocations: 8.016 kB / 0.5174 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/1.247, allocations: 4.003 MB / 0.5213 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.247, allocations: 0 / 0.5213 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/1.249, allocations: 174.6 kB / 0.5215 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/1.25, allocations: 314.8 kB / 0.5218 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/1.25, allocations: 3.375 kB / 0.5218 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/1.254, allocations: 2.613 MB / 0.5243 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.254, allocations: 0 / 0.5243 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/1.261, allocations: 3.249 MB / 0.5275 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.262, allocations: 402.9 kB / 0.5279 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005368/1.263, allocations: 7.203 kB / 0.5279 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.264, allocations: 37.45 kB / 0.5279 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/1.265, allocations: 56.47 kB / 0.528 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.265, allocations: 31.09 kB / 0.528 GB, free: 113.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002985/1.268, allocations: 1.3 MB / 0.5293 GB, free: 113 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.268, allocations: 0 / 0.5293 GB, free: 113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005358/1.273, allocations: 0.5227 MB / 0.5298 GB, free: 113 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007454/1.281, allocations: 4.038 MB / 0.5337 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007193/1.288, allocations: 3.154 MB / 0.5368 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.288, allocations: 0 / 0.5368 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.29, allocations: 0.9041 MB / 0.5377 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.292, allocations: 145.6 kB / 0.5378 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/1.315, allocations: 5.271 MB / 0.543 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003158/1.318, allocations: 2.235 MB / 0.5452 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006143/1.324, allocations: 1.463 MB / 0.5466 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002572/1.327, allocations: 1.028 MB / 0.5476 GB, free: 105.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.804e-06/1.327, allocations: 0 / 0.5476 GB, free: 105.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.441, allocations: 43.24 MB / 0.5898 GB, free: 68.87 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/1.442, allocations: 131.5 kB / 0.5899 GB, free: 68.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.877/5.319, allocations: 0 / 0.5899 GB, free: 68.67 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat