Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.6/2.6, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.889e-05, allocations: 0 / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08838, allocations: 44.51 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.4993, allocations: 86.03 MB / 386 MB, free: 20.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/0.4997, allocations: 86.53 kB / 386.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3178/0.8175, allocations: 77.72 MB / 463.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8176, allocations: 0 / 463.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002316/0.8178, allocations: 75.98 kB / 463.9 MB, free: 8.457 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.02225/0.8401, allocations: 4.055 MB / 467.9 MB, free: 4.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.8402, allocations: 12.03 kB / 467.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003113/0.8433, allocations: 0.7457 MB / 468.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02164/0.865, allocations: 2.241 MB / 470.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02772/0.8927, allocations: 4.334 MB / 475.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006842/0.8935, allocations: 316.2 kB / 475.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003142/0.8966, allocations: 411.8 kB / 476 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04734/0.944, allocations: 10.1 MB / 486.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003388/0.9444, allocations: 63.39 kB / 486.1 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00246/0.9469, allocations: 207.8 kB / 486.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004056/0.951, allocations: 0.9898 MB / 487.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04068/0.9918, allocations: 7.775 MB / 495.1 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3821/1.374, allocations: 48.25 MB / 0.5306 GB, free: 47.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.016/1.39, allocations: 3.53 MB / 0.5341 GB, free: 46.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003133/1.393, allocations: 1.304 MB / 0.5353 GB, free: 46.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/1.408, allocations: 6.522 MB / 0.5417 GB, free: 44.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/1.408, allocations: 50.58 kB / 0.5418 GB, free: 44.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 5.31e-06/1.408, allocations: 0 / 0.5418 GB, free: 44.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.03967/1.448, allocations: 9.565 MB / 0.5511 GB, free: 41.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001334/1.449, allocations: 1.587 MB / 0.5526 GB, free: 40.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007055/1.456, allocations: 3.333 MB / 0.5559 GB, free: 39.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000403/1.456, allocations: 44 kB / 0.5559 GB, free: 39.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002486/1.459, allocations: 3.03 MB / 0.5589 GB, free: 38.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009536/1.46, allocations: 0.582 MB / 0.5595 GB, free: 37.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006574/1.461, allocations: 119 kB / 0.5596 GB, free: 37.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003621/1.461, allocations: 0.5685 MB / 0.5601 GB, free: 37.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004497/1.465, allocations: 1.89 MB / 0.562 GB, free: 37.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007046/1.473, allocations: 5.734 MB / 0.5676 GB, free: 32.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007094/1.48, allocations: 3.27 MB / 0.5708 GB, free: 32.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/1.48, allocations: 38.97 kB / 0.5708 GB, free: 32.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02563/1.506, allocations: 8.092 MB / 0.5787 GB, free: 30.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.506, allocations: 63.56 kB / 0.5788 GB, free: 30.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01054/1.516, allocations: 2.736 MB / 0.5814 GB, free: 29.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00954/1.526, allocations: 1.614 MB / 0.583 GB, free: 29.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007707/1.534, allocations: 1.343 MB / 0.5843 GB, free: 29.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008272/1.542, allocations: 5.542 MB / 0.5897 GB, free: 25.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007682/1.55, allocations: 431.9 kB / 0.5902 GB, free: 25.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.551, allocations: 385.9 kB / 0.5905 GB, free: 25.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (717): * Single equations (assignments): 707 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.001477/1.552, allocations: 0.5717 MB / 0.5911 GB, free: 24.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008262/1.553, allocations: 325.5 kB / 0.5914 GB, free: 24.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/1.564, allocations: 2.973 MB / 0.5943 GB, free: 23.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00957/1.574, allocations: 2.556 MB / 0.5968 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.574, allocations: 3.406 kB / 0.5968 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.72e-05/1.574, allocations: 10.38 kB / 0.5968 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009224/1.583, allocations: 3.543 MB / 0.6003 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/1.583, allocations: 2.625 kB / 0.6003 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/1.585, allocations: 169.4 kB / 0.6004 GB, free: 21.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008454/1.594, allocations: 1.424 MB / 0.6018 GB, free: 20.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003679/1.594, allocations: 37.92 kB / 0.6019 GB, free: 20.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009034/1.603, allocations: 5.747 MB / 0.6075 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001079/1.604, allocations: 1.453 MB / 0.6089 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.618, allocations: 5.126 MB / 0.6139 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.619, allocations: 386.2 kB / 0.6143 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007019/1.62, allocations: 29.22 kB / 0.6143 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.623, allocations: 134.8 kB / 0.6144 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/1.623, allocations: 81.91 kB / 0.6145 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.623, allocations: 44.08 kB / 0.6145 GB, free: 8.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004987/1.628, allocations: 2.27 MB / 0.6168 GB, free: 6.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.254e-06/1.628, allocations: 112 / 0.6168 GB, free: 6.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006975/1.635, allocations: 0.9806 MB / 0.6177 GB, free: 5.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.01256/1.648, allocations: 5.749 MB / 0.6233 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01509/1.663, allocations: 5.028 MB / 0.6282 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.663, allocations: 0 / 0.6282 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006872/1.67, allocations: 1.924 MB / 0.6301 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.673, allocations: 353.9 kB / 0.6305 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/1.703, allocations: 8.909 MB / 0.6392 GB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006094/1.709, allocations: 3.129 MB / 0.6422 GB, free: 176 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008878/1.718, allocations: 2.052 MB / 0.6442 GB, free: 15.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/1.718, allocations: 0 / 0.6442 GB, free: 15.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.061/6.78, allocations: 154 MB / 0.7946 GB, free: 16.87 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat