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 2.058/2.058, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.571e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.322, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.4804, allocations: 85.37 MB / 379.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.4808, allocations: 79.95 kB / 379.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6037/1.084, allocations: 75.84 MB / 455.5 MB, free: 89.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.085, allocations: 0 / 455.5 MB, free: 89.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000206/1.085, allocations: 78.19 kB / 455.6 MB, free: 89.27 MB / 362.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.02191/1.107, allocations: 4.049 MB / 459.6 MB, free: 86.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.107, allocations: 10.44 kB / 459.7 MB, free: 86.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01794/1.125, allocations: 2.243 MB / 461.9 MB, free: 85.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.142, allocations: 4.333 MB / 466.2 MB, free: 82.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/1.142, allocations: 136 kB / 466.4 MB, free: 82.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/1.145, allocations: 236 kB / 466.6 MB, free: 81.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01417/1.159, allocations: 5.716 MB / 472.3 MB, free: 76.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/1.182, allocations: 9.003 MB / 481.3 MB, free: 66.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002105/1.182, allocations: 59.41 kB / 481.4 MB, free: 66.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/1.184, allocations: 32 kB / 481.4 MB, free: 66.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002159/1.186, allocations: 0.99 MB / 482.4 MB, free: 65.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06232/1.248, allocations: 47.59 MB / 0.5176 GB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/1.252, allocations: 2.262 MB / 0.5198 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/1.255, allocations: 1.193 MB / 0.5209 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/1.255, allocations: 15.98 kB / 0.521 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.255, allocations: 43.48 kB / 0.521 GB, free: 12.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=137): time 4.779e-06/1.255, allocations: 0 / 0.521 GB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.03077/1.286, allocations: 8.891 MB / 0.5297 GB, free: 3.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.286, allocations: 141.3 kB / 0.5298 GB, free: 3.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005407/1.291, allocations: 2.93 MB / 0.5327 GB, free: 144 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004397/1.292, allocations: 25.7 kB / 0.5327 GB, free: 112 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003568/1.295, allocations: 3.108 MB / 0.5357 GB, free: 12.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.297, allocations: 0.5903 MB / 0.5363 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006352/1.297, allocations: 0 / 0.5363 GB, free: 12.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005515/1.298, allocations: 0.5782 MB / 0.5369 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004949/1.303, allocations: 1.832 MB / 0.5387 GB, free: 9.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009593/1.313, allocations: 5.827 MB / 0.5444 GB, free: 2.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008449/1.321, allocations: 3.247 MB / 0.5475 GB, free: 14.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/1.321, allocations: 44 kB / 0.5476 GB, free: 14.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.0282/1.349, allocations: 7.885 MB / 0.5553 GB, free: 6.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.35, allocations: 69 kB / 0.5553 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01132/1.361, allocations: 2.671 MB / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009422/1.37, allocations: 1.51 MB / 0.5594 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008685/1.379, allocations: 1.4 MB / 0.5608 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2947/1.674, allocations: 5.4 MB / 0.5661 GB, free: 99.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007527/1.682, allocations: 320.2 kB / 0.5664 GB, free: 99.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/1.683, allocations: 397.1 kB / 0.5667 GB, free: 99.26 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * 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 (747): * Single equations (assignments): 737 * 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.002313/1.686, allocations: 475.6 kB / 0.5672 GB, free: 99.15 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0127/1.698, allocations: 3.341 MB / 0.5705 GB, free: 99.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.699, allocations: 298.3 kB / 0.5707 GB, free: 99.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.71, allocations: 2.882 MB / 0.5736 GB, free: 98.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01399/1.724, allocations: 2.491 MB / 0.576 GB, free: 98.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-05/1.725, allocations: 3.938 kB / 0.576 GB, free: 98.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/1.725, allocations: 5.953 kB / 0.576 GB, free: 98.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/1.743, allocations: 5.218 MB / 0.5811 GB, free: 98.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/1.743, allocations: 0 / 0.5811 GB, free: 98.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.745, allocations: 179.7 kB / 0.5813 GB, free: 98.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00999/1.755, allocations: 1.41 MB / 0.5826 GB, free: 98.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004289/1.755, allocations: 21.38 kB / 0.5827 GB, free: 98.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/1.769, allocations: 5.648 MB / 0.5882 GB, free: 94.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001337/1.77, allocations: 1.401 MB / 0.5895 GB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/1.79, allocations: 5.106 MB / 0.5945 GB, free: 91.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.791, allocations: 347.4 kB / 0.5949 GB, free: 91.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.792, allocations: 15.8 kB / 0.5949 GB, free: 91.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/1.796, allocations: 117.1 kB / 0.595 GB, free: 91.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/1.796, allocations: 80.64 kB / 0.5951 GB, free: 91.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/1.797, allocations: 46.25 kB / 0.5951 GB, free: 91.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005779/1.802, allocations: 1.911 MB / 0.597 GB, free: 90.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.802, allocations: 5.625 kB / 0.597 GB, free: 90.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01082/1.813, allocations: 0.8659 MB / 0.5978 GB, free: 90.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET4596982152.x[3],$STATESET4596982152.x[2],$STATESET4596982152.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 (79): * Single equations (assignments): 71 * 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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/1.83, allocations: 5.712 MB / 0.6034 GB, free: 87.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/1.843, allocations: 4.986 MB / 0.6083 GB, free: 86.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.843, allocations: 0 / 0.6083 GB, free: 86.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006148/1.849, allocations: 1.933 MB / 0.6102 GB, free: 85.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.852, allocations: 283 kB / 0.6104 GB, free: 85.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/1.877, allocations: 8.326 MB / 0.6186 GB, free: 78.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005169/1.882, allocations: 3.126 MB / 0.6216 GB, free: 75.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007948/1.89, allocations: 1.844 MB / 0.6234 GB, free: 74.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003722/1.894, allocations: 1.696 MB / 0.6251 GB, free: 73.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/1.894, allocations: 0 / 0.6251 GB, free: 73.19 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1877/2.082, allocations: 67.93 MB / 0.6914 GB, free: 6.656 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/2.082, allocations: 147.9 kB / 0.6916 GB, free: 6.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.933/7.015, allocations: 0 / 0.6916 GB, free: 6.469 MB / 394.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