Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.448e-05, allocations: 8 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.251, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.3898, allocations: 78.75 MB / 337.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.3902, allocations: 79.95 kB / 337.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4493/0.8395, allocations: 55.43 MB / 392.6 MB, free: 80.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.8396, allocations: 0 / 392.6 MB, free: 80.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001142/0.8397, allocations: 47.81 kB / 392.7 MB, free: 80.17 MB / 314.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.01676/0.8565, allocations: 2.907 MB / 395.6 MB, free: 78.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8565, allocations: 10.69 kB / 395.6 MB, free: 78.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.8723, allocations: 2.046 MB / 397.6 MB, free: 76.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/0.8859, allocations: 3.587 MB / 401.2 MB, free: 72.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.8861, allocations: 80.34 kB / 401.3 MB, free: 72.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.8876, allocations: 151.9 kB / 401.4 MB, free: 72.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009227/0.8968, allocations: 3.991 MB / 405.4 MB, free: 68.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.9105, allocations: 6.174 MB / 411.6 MB, free: 61.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.9107, allocations: 39.62 kB / 411.6 MB, free: 61.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006279/0.9113, allocations: 24 kB / 411.7 MB, free: 61.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001488/0.9128, allocations: 0.7069 MB / 412.4 MB, free: 60.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04027/0.9531, allocations: 30.99 MB / 443.4 MB, free: 28.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.9566, allocations: 1.992 MB / 445.3 MB, free: 26.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.9584, allocations: 0.95 MB / 446.3 MB, free: 25.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.9596, allocations: 0.6547 MB / 447 MB, free: 25.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.9597, allocations: 54.89 kB / 447 MB, free: 25.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 4.158e-06/0.9597, allocations: 0 / 447 MB, free: 25.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=124): time 0.02887/0.9886, allocations: 8.135 MB / 455.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.9887, allocations: 137.1 kB / 455.3 MB, free: 16.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.9926, allocations: 2.118 MB / 457.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.993, allocations: 25.7 kB / 457.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.9946, allocations: 2.094 MB / 459.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007427/0.9953, allocations: 0.4976 MB / 460 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.9957, allocations: 0 / 460 MB, free: 11.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003934/0.9962, allocations: 0.5401 MB / 460.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003439/0.9996, allocations: 1.532 MB / 462.1 MB, free: 9.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/1.005, allocations: 4.372 MB / 466.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005434/1.01, allocations: 2.572 MB / 469 MB, free: 1.297 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.011, allocations: 28 kB / 469.1 MB, free: 1.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.02232/1.033, allocations: 6.329 MB / 475.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/1.033, allocations: 52 kB / 475.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009854/1.043, allocations: 2.374 MB / 477.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008679/1.052, allocations: 1.392 MB / 479.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00673/1.058, allocations: 1.061 MB / 480.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/1.073, allocations: 6.574 MB / 486.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005799/1.079, allocations: 283.4 kB / 487.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/1.08, allocations: 288 kB / 487.4 MB, free: 14.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (561): * Single equations (assignments): 553 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001242/1.081, allocations: 360.1 kB / 487.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01239/1.094, allocations: 3.109 MB / 490.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000874/1.095, allocations: 213.2 kB / 491.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.106, allocations: 2.718 MB / 493.8 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01043/1.117, allocations: 2.413 MB / 496.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/1.117, allocations: 7.938 kB / 496.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-05/1.117, allocations: 7.969 kB / 496.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2578/1.375, allocations: 6.635 MB / 0.4911 GB, free: 96.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/1.375, allocations: 0.7812 kB / 0.4911 GB, free: 96.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.377, allocations: 176.5 kB / 0.4912 GB, free: 96.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008668/1.385, allocations: 1.402 MB / 0.4926 GB, free: 96.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003197/1.386, allocations: 21.09 kB / 0.4926 GB, free: 96.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/1.401, allocations: 7.162 MB / 0.4996 GB, free: 93.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001068/1.402, allocations: 1.39 MB / 0.501 GB, free: 92.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.415, allocations: 4.811 MB / 0.5057 GB, free: 91.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/1.416, allocations: 283.9 kB / 0.5059 GB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005811/1.417, allocations: 6.344 kB / 0.5059 GB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.419, allocations: 115.2 kB / 0.5061 GB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/1.419, allocations: 77.06 kB / 0.5061 GB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.419, allocations: 35.8 kB / 0.5062 GB, free: 91.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002752/1.422, allocations: 1.401 MB / 0.5075 GB, free: 91.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.422, allocations: 0 / 0.5075 GB, free: 91.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005455/1.428, allocations: 0.6775 MB / 0.5082 GB, free: 91.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET7076098440.x[3],$STATESET7076098440.x[2],$STATESET7076098440.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01411/1.442, allocations: 5.623 MB / 0.5137 GB, free: 89.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01003/1.452, allocations: 3.96 MB / 0.5175 GB, free: 88.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.452, allocations: 2.219 kB / 0.5175 GB, free: 88.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005019/1.457, allocations: 1.67 MB / 0.5192 GB, free: 87.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.459, allocations: 187.2 kB / 0.5194 GB, free: 87.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/1.478, allocations: 6.182 MB / 0.5254 GB, free: 85.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003248/1.481, allocations: 2.321 MB / 0.5277 GB, free: 84.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006005/1.487, allocations: 1.471 MB / 0.5291 GB, free: 83.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/1.49, allocations: 1.088 MB / 0.5302 GB, free: 82.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/1.49, allocations: 0 / 0.5302 GB, free: 82.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.17/1.66, allocations: 50.59 MB / 0.5796 GB, free: 34.77 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/1.66, allocations: 159.5 kB / 0.5797 GB, free: 34.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/5.43, allocations: 4 kB / 0.5797 GB, free: 34.57 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat