Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.432e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.45, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1817/0.6318, allocations: 88.83 MB / 443.3 MB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.6322, allocations: 71.97 kB / 443.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6235/1.256, allocations: 45.93 MB / 489.3 MB, free: 87.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.256, allocations: 0 / 489.3 MB, free: 87.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001101/1.256, allocations: 44 kB / 489.3 MB, free: 87.66 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: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.008451/1.264, allocations: 2.306 MB / 491.6 MB, free: 85.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.264, allocations: 8.031 kB / 491.6 MB, free: 85.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/1.28, allocations: 1.767 MB / 493.4 MB, free: 83.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/1.284, allocations: 1.354 MB / 494.7 MB, free: 82.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.285, allocations: 76 kB / 494.8 MB, free: 82.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.286, allocations: 136 kB / 494.9 MB, free: 81.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009541/1.296, allocations: 3.724 MB / 498.7 MB, free: 78.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/1.311, allocations: 6.063 MB / 0.4929 GB, free: 71.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/1.311, allocations: 47.59 kB / 0.4929 GB, free: 71.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009435/1.312, allocations: 20 kB / 0.493 GB, free: 71.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/1.313, allocations: 0.7019 MB / 0.4937 GB, free: 70.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/1.353, allocations: 30.37 MB / 0.5233 GB, free: 39.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/1.357, allocations: 1.991 MB / 0.5253 GB, free: 37.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/1.359, allocations: 0.9479 MB / 0.5262 GB, free: 36.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/1.359, allocations: 43.89 kB / 0.5262 GB, free: 36.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.359, allocations: 51.08 kB / 0.5263 GB, free: 36.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.209e-06/1.359, allocations: 0 / 0.5263 GB, free: 36.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.03036/1.39, allocations: 8.397 MB / 0.5345 GB, free: 27.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/1.39, allocations: 145 kB / 0.5346 GB, free: 27.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/1.394, allocations: 1.991 MB / 0.5366 GB, free: 25.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000253/1.394, allocations: 25.7 kB / 0.5366 GB, free: 25.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.396, allocations: 2.082 MB / 0.5386 GB, free: 23.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/1.396, allocations: 466.1 kB / 0.5391 GB, free: 22.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/1.397, allocations: 0 / 0.5391 GB, free: 22.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003892/1.397, allocations: 0.536 MB / 0.5396 GB, free: 22.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/1.4, allocations: 1.305 MB / 0.5409 GB, free: 21.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005166/1.405, allocations: 4.168 MB / 0.5449 GB, free: 15.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/1.411, allocations: 2.351 MB / 0.5472 GB, free: 13.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.613e-05/1.411, allocations: 32 kB / 0.5473 GB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.01476/1.426, allocations: 5.068 MB / 0.5522 GB, free: 7.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/1.426, allocations: 53.88 kB / 0.5523 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/1.426, allocations: 100 kB / 0.5523 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/1.428, allocations: 473.1 kB / 0.5528 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007096/1.435, allocations: 1.064 MB / 0.5538 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/1.441, allocations: 3.165 MB / 0.5569 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/1.446, allocations: 147.5 kB / 0.5571 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000926/1.447, allocations: 291.2 kB / 0.5573 GB, free: 2.551 MB / 394.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.000766/1.448, allocations: 352.6 kB / 0.5577 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005115/1.453, allocations: 1.855 MB / 0.5595 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/1.453, allocations: 205.3 kB / 0.5597 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/1.458, allocations: 1.405 MB / 0.5611 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.886e-05/1.458, allocations: 12 kB / 0.5611 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.458, allocations: 7.938 kB / 0.5611 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/1.458, allocations: 7.969 kB / 0.5611 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.473, allocations: 3.989 MB / 0.565 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.473, allocations: 4 kB / 0.565 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/1.475, allocations: 175.8 kB / 0.5652 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/1.477, allocations: 308.5 kB / 0.5655 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/1.477, allocations: 4 kB / 0.5655 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005466/1.483, allocations: 2.621 MB / 0.568 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/1.483, allocations: 4.031 kB / 0.568 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008555/1.491, allocations: 3.251 MB / 0.5712 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.493, allocations: 410.2 kB / 0.5716 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006053/1.493, allocations: 4 kB / 0.5716 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/1.495, allocations: 31.94 kB / 0.5716 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/1.495, allocations: 52.48 kB / 0.5717 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.496, allocations: 32 kB / 0.5717 GB, free: 3.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003547/1.499, allocations: 1.302 MB / 0.573 GB, free: 2.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.499, allocations: 0 / 0.573 GB, free: 2.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005625/1.505, allocations: 0.5157 MB / 0.5735 GB, free: 1.746 MB / 410.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.009423/1.514, allocations: 4.043 MB / 0.5774 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008781/1.523, allocations: 3.145 MB / 0.5805 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.523, allocations: 4 kB / 0.5805 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/1.526, allocations: 0.9092 MB / 0.5814 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.527, allocations: 144 kB / 0.5815 GB, free: 9.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.548, allocations: 5.272 MB / 0.5867 GB, free: 4.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004623/1.553, allocations: 2.235 MB / 0.5889 GB, free: 1.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007787/1.561, allocations: 1.46 MB / 0.5903 GB, free: 384 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003302/1.564, allocations: 1.038 MB / 0.5913 GB, free: 15.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.853e-06/1.564, allocations: 0 / 0.5913 GB, free: 15.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5077/2.072, allocations: 43.24 MB / 0.6335 GB, free: 133 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002939/2.072, allocations: 137.2 kB / 0.6337 GB, free: 132.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.272/6.344, allocations: 0 / 0.6337 GB, free: 132.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat