Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.793e-05, allocations: 9.125 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5738/0.716, allocations: 97.97 MB / 0.4964 GB, free: 6.117 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.7164, allocations: 80.8 kB / 0.4965 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2423/0.9587, allocations: 48.37 MB / 0.5437 GB, free: 5.258 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.9587, allocations: 0 / 0.5437 GB, free: 5.258 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001218/0.9589, allocations: 40 kB / 0.5438 GB, free: 5.219 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.008522/0.9674, allocations: 2.323 MB / 0.546 GB, free: 2.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.9675, allocations: 11.97 kB / 0.546 GB, free: 2.828 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002007/0.9695, allocations: 0.4943 MB / 0.5465 GB, free: 2.324 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.9833, allocations: 1.763 MB / 0.5482 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/0.9881, allocations: 1.358 MB / 0.5496 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.9884, allocations: 184.7 kB / 0.5497 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001364/0.9898, allocations: 235.9 kB / 0.55 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/1.008, allocations: 6.52 MB / 0.5563 GB, free: 7.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/1.008, allocations: 47.38 kB / 0.5564 GB, free: 7.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007497/1.008, allocations: 123.9 kB / 0.5565 GB, free: 7.285 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001565/1.01, allocations: 0.6955 MB / 0.5572 GB, free: 6.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/1.026, allocations: 5.294 MB / 0.5624 GB, free: 1.289 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.047/1.073, allocations: 31.81 MB / 0.5934 GB, free: 360 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007949/1.081, allocations: 2.342 MB / 0.5957 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/1.083, allocations: 0.9723 MB / 0.5967 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/1.083, allocations: 51.77 kB / 0.5967 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/1.083, allocations: 46.5 kB / 0.5968 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 4.448e-06/1.083, allocations: 0 / 0.5968 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=115): time 0.04259/1.126, allocations: 8.475 MB / 0.605 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.126, allocations: 149 kB / 0.6052 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/1.132, allocations: 2.334 MB / 0.6075 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002663/1.132, allocations: 33.7 kB / 0.6075 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3706/1.503, allocations: 2.029 MB / 0.6095 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008899/1.503, allocations: 467.9 kB / 0.6099 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006215/1.504, allocations: 90.27 kB / 0.61 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004767/1.505, allocations: 497.9 kB / 0.6105 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/1.509, allocations: 1.347 MB / 0.6118 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005961/1.515, allocations: 4.091 MB / 0.6158 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006102/1.521, allocations: 2.366 MB / 0.6181 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002109/1.521, allocations: 28.5 kB / 0.6181 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.0165/1.538, allocations: 5.276 MB / 0.6233 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.538, allocations: 47.44 kB / 0.6233 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/1.538, allocations: 99.78 kB / 0.6234 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/1.54, allocations: 473.1 kB / 0.6239 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006714/1.547, allocations: 1.018 MB / 0.6249 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/1.553, allocations: 3.381 MB / 0.6282 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004563/1.557, allocations: 229.6 kB / 0.6284 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007899/1.558, allocations: 276.2 kB / 0.6286 GB, free: 141.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (537): * Single equations (assignments): 533 * 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.0009218/1.559, allocations: 453.2 kB / 0.6291 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006908/1.56, allocations: 222.2 kB / 0.6293 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/1.567, allocations: 1.468 MB / 0.6307 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-05/1.568, allocations: 13.94 kB / 0.6307 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/1.568, allocations: 3.156 kB / 0.6307 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-05/1.568, allocations: 9.422 kB / 0.6307 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.584, allocations: 4.46 MB / 0.6351 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.584, allocations: 1.281 kB / 0.6351 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/1.585, allocations: 173.5 kB / 0.6353 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/1.587, allocations: 316.2 kB / 0.6356 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/1.587, allocations: 22.83 kB / 0.6356 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/1.592, allocations: 2.8 MB / 0.6383 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.592, allocations: 3.969 kB / 0.6383 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00668/1.598, allocations: 3.297 MB / 0.6415 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007965/1.599, allocations: 288.1 kB / 0.6418 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.6, allocations: 15.25 kB / 0.6418 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.601, allocations: 50.3 kB / 0.6419 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/1.601, allocations: 58.03 kB / 0.6419 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.602, allocations: 35.86 kB / 0.642 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003145/1.605, allocations: 1.596 MB / 0.6435 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/1.605, allocations: 3.844 kB / 0.6435 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004824/1.61, allocations: 0.6246 MB / 0.6441 GB, free: 135.4 MB / 0.5105 GB 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 (86): * Single equations (assignments): 82 * 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.007006/1.617, allocations: 4.123 MB / 0.6482 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007209/1.624, allocations: 3.152 MB / 0.6513 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.624, allocations: 1.812 kB / 0.6513 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/1.626, allocations: 0.9076 MB / 0.6521 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.627, allocations: 192 kB / 0.6523 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.644, allocations: 5.419 MB / 0.6576 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/1.647, allocations: 2.24 MB / 0.6598 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005579/1.653, allocations: 1.418 MB / 0.6612 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002163/1.655, allocations: 1.036 MB / 0.6622 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/1.655, allocations: 0 / 0.6622 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/1.764, allocations: 46.56 MB / 0.7077 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.764, allocations: 169.3 kB / 0.7078 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.262/6.026, allocations: 4 kB / 0.7078 GB, free: 93.08 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat