Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.05e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08956, allocations: 44.52 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4309/0.5205, allocations: 86.02 MB / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/0.5209, allocations: 83.16 kB / 386.1 MB, free: 16.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3404/0.8614, allocations: 77.73 MB / 463.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8615, allocations: 0 / 463.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000242/0.8617, allocations: 75.98 kB / 463.9 MB, free: 6.352 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.02216/0.8839, allocations: 4.048 MB / 467.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.884, allocations: 16.02 kB / 467.9 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003137/0.8871, allocations: 0.7495 MB / 468.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/0.9052, allocations: 2.237 MB / 470.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01853/0.9238, allocations: 4.35 MB / 475.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004926/0.9243, allocations: 304.2 kB / 475.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002315/0.9266, allocations: 415.8 kB / 476 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/0.9581, allocations: 10.15 MB / 486.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000216/0.9584, allocations: 63.44 kB / 486.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009853/0.9594, allocations: 203.9 kB / 486.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002277/0.9617, allocations: 0.9858 MB / 487.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/0.9881, allocations: 7.963 MB / 495.3 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3838/1.372, allocations: 48.23 MB / 0.5308 GB, free: 61.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/1.389, allocations: 3.536 MB / 0.5343 GB, free: 60.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/1.392, allocations: 1.314 MB / 0.5356 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01632/1.409, allocations: 6.521 MB / 0.5419 GB, free: 58.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/1.409, allocations: 49.3 kB / 0.542 GB, free: 58.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 5.46e-06/1.409, allocations: 6.125 kB / 0.542 GB, free: 58.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.04003/1.449, allocations: 9.579 MB / 0.5513 GB, free: 55.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001321/1.45, allocations: 1.585 MB / 0.5529 GB, free: 54.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007926/1.458, allocations: 3.33 MB / 0.5561 GB, free: 54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004104/1.459, allocations: 43.06 kB / 0.5562 GB, free: 53.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002677/1.461, allocations: 3.07 MB / 0.5592 GB, free: 52.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009288/1.462, allocations: 0.579 MB / 0.5597 GB, free: 51.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006535/1.463, allocations: 122.7 kB / 0.5599 GB, free: 51.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003725/1.463, allocations: 0.5573 MB / 0.5604 GB, free: 51.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004673/1.468, allocations: 1.889 MB / 0.5623 GB, free: 51.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007465/1.476, allocations: 5.777 MB / 0.5679 GB, free: 46.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007321/1.483, allocations: 3.277 MB / 0.5711 GB, free: 46.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/1.483, allocations: 42.97 kB / 0.5711 GB, free: 46.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02629/1.509, allocations: 8.556 MB / 0.5795 GB, free: 46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.51, allocations: 70.31 kB / 0.5796 GB, free: 46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01046/1.52, allocations: 2.729 MB / 0.5822 GB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009674/1.53, allocations: 1.622 MB / 0.5838 GB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007791/1.538, allocations: 1.347 MB / 0.5851 GB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008478/1.546, allocations: 5.543 MB / 0.5905 GB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007484/1.554, allocations: 429.6 kB / 0.5909 GB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/1.555, allocations: 388.8 kB / 0.5913 GB, free: 41.4 MB / 410.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.002019/1.557, allocations: 0.5836 MB / 0.5919 GB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008381/1.558, allocations: 316.2 kB / 0.5922 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.569, allocations: 2.981 MB / 0.5951 GB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009692/1.579, allocations: 2.549 MB / 0.5976 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/1.579, allocations: 3.938 kB / 0.5976 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.064e-05/1.579, allocations: 10.25 kB / 0.5976 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.589, allocations: 3.547 MB / 0.6011 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/1.589, allocations: 0 / 0.6011 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.591, allocations: 167.3 kB / 0.6012 GB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00819/1.599, allocations: 1.432 MB / 0.6026 GB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004282/1.6, allocations: 34.12 kB / 0.6027 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009325/1.609, allocations: 5.741 MB / 0.6083 GB, free: 33.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001148/1.61, allocations: 1.45 MB / 0.6097 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/1.625, allocations: 5.137 MB / 0.6147 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.626, allocations: 371.4 kB / 0.615 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.628, allocations: 31.14 kB / 0.6151 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/1.631, allocations: 137 kB / 0.6152 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000572/1.631, allocations: 88.36 kB / 0.6153 GB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.632, allocations: 39.38 kB / 0.6153 GB, free: 27.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005807/1.637, allocations: 2.275 MB / 0.6176 GB, free: 25.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.638, allocations: 0 / 0.6176 GB, free: 25.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007085/1.645, allocations: 0.9783 MB / 0.6185 GB, free: 24.29 MB / 410.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.01795/1.663, allocations: 5.755 MB / 0.6241 GB, free: 19.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01484/1.677, allocations: 5.171 MB / 0.6292 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.678, allocations: 11.36 kB / 0.6292 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006683/1.684, allocations: 1.929 MB / 0.6311 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.687, allocations: 346.2 kB / 0.6314 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/1.714, allocations: 8.481 MB / 0.6397 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005839/1.72, allocations: 3.12 MB / 0.6427 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008039/1.728, allocations: 1.78 MB / 0.6445 GB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003697/1.732, allocations: 1.701 MB / 0.6461 GB, free: 120 kB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.732, allocations: 0 / 0.6461 GB, free: 120 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4734/2.205, allocations: 72.7 MB / 0.7171 GB, free: 116.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/2.206, allocations: 196.8 kB / 0.7173 GB, free: 116.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.301/7.506, allocations: 0 / 0.7173 GB, free: 116.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat