Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.522e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2534, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.3954, allocations: 81.72 MB / 340.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.3957, allocations: 83.95 kB / 340.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5899/0.9856, allocations: 81.89 MB / 422 MB, free: 53.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9857, allocations: 0 / 422 MB, free: 53.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001964/0.9859, allocations: 76 kB / 422.1 MB, free: 53.2 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: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01256/0.9985, allocations: 3.801 MB / 425.9 MB, free: 49.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.9985, allocations: 8.031 kB / 425.9 MB, free: 49.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/1.018, allocations: 2.432 MB / 428.4 MB, free: 46.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.034, allocations: 5.032 MB / 433.4 MB, free: 41.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/1.034, allocations: 132.3 kB / 433.5 MB, free: 41.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/1.036, allocations: 243.9 kB / 433.8 MB, free: 41.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01251/1.049, allocations: 5.736 MB / 439.5 MB, free: 35.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/1.067, allocations: 8.9 MB / 448.4 MB, free: 25.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/1.067, allocations: 55.5 kB / 448.4 MB, free: 25.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007063/1.068, allocations: 32 kB / 448.5 MB, free: 25.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002029/1.07, allocations: 0.9824 MB / 449.5 MB, free: 24.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0623/1.132, allocations: 44.58 MB / 494 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/1.136, allocations: 1.834 MB / 495.9 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/1.138, allocations: 0.7396 MB / 496.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008912/1.139, allocations: 460.8 kB / 497.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/1.139, allocations: 43.12 kB / 497.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 5.921e-06/1.139, allocations: 0 / 497.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=142): time 0.03329/1.172, allocations: 6.863 MB / 0.4922 GB, free: 260 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.173, allocations: 137.3 kB / 0.4923 GB, free: 88 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2498/1.422, allocations: 2.98 MB / 0.4952 GB, free: 86.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000262/1.423, allocations: 29.67 kB / 0.4952 GB, free: 86.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002734/1.425, allocations: 3.143 MB / 0.4983 GB, free: 85.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007345/1.426, allocations: 0.5567 MB / 0.4988 GB, free: 85.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005703/1.427, allocations: 0 / 0.4988 GB, free: 85.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000403/1.427, allocations: 0.5515 MB / 0.4994 GB, free: 84.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/1.43, allocations: 1.393 MB / 0.5007 GB, free: 84.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/1.436, allocations: 5.229 MB / 0.5058 GB, free: 79.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/1.442, allocations: 2.699 MB / 0.5085 GB, free: 79.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/1.442, allocations: 42.25 kB / 0.5085 GB, free: 79.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01492/1.457, allocations: 5.709 MB / 0.5141 GB, free: 79.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.457, allocations: 70.67 kB / 0.5142 GB, free: 79.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/1.457, allocations: 136.7 kB / 0.5143 GB, free: 79.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/1.458, allocations: 203.4 kB / 0.5145 GB, free: 79.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008443/1.466, allocations: 1.427 MB / 0.5159 GB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002316/1.466, allocations: 272.3 kB / 0.5161 GB, free: 78.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006626/1.473, allocations: 266.7 kB / 0.5164 GB, free: 78.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/1.474, allocations: 372.2 kB / 0.5168 GB, free: 78.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (750): * Single equations (assignments): 747 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009089/1.475, allocations: 446.5 kB / 0.5172 GB, free: 78.55 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003123/1.478, allocations: 1.467 MB / 0.5186 GB, free: 78.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004938/1.479, allocations: 316.1 kB / 0.5189 GB, free: 78.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/1.481, allocations: 1.006 MB / 0.5199 GB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/1.481, allocations: 18.59 kB / 0.5199 GB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.481, allocations: 0 / 0.5199 GB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.481, allocations: 7.359 kB / 0.5199 GB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/1.492, allocations: 4.72 MB / 0.5245 GB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/1.492, allocations: 16.94 kB / 0.5245 GB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.494, allocations: 262.5 kB / 0.5248 GB, free: 75.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.339e-05/1.494, allocations: 25.56 kB / 0.5248 GB, free: 75.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/1.494, allocations: 35.58 kB / 0.5249 GB, free: 75.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.459e-05/1.494, allocations: 31.77 kB / 0.5249 GB, free: 75.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-05/1.494, allocations: 23.12 kB / 0.5249 GB, free: 75.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/1.499, allocations: 4.607 MB / 0.5294 GB, free: 72.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.5, allocations: 488.6 kB / 0.5299 GB, free: 71.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006725/1.501, allocations: 26.25 kB / 0.5299 GB, free: 71.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/1.503, allocations: 70.81 kB / 0.53 GB, free: 71.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/1.504, allocations: 129.8 kB / 0.5301 GB, free: 71.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.504, allocations: 60.12 kB / 0.5301 GB, free: 71.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00491/1.509, allocations: 1.974 MB / 0.5321 GB, free: 71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.303e-06/1.509, allocations: 0 / 0.5321 GB, free: 71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006822/1.516, allocations: 0.7264 MB / 0.5328 GB, free: 71 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005756/1.521, allocations: 9.168 MB / 0.5417 GB, free: 62.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006589/1.528, allocations: 3.221 MB / 0.5449 GB, free: 61.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.845e-05/1.528, allocations: 2.656 kB / 0.5449 GB, free: 61.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.529, allocations: 0.6567 MB / 0.5455 GB, free: 61.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.532, allocations: 342.1 kB / 0.5459 GB, free: 61.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/1.555, allocations: 7.903 MB / 0.5536 GB, free: 54.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005889/1.56, allocations: 3.147 MB / 0.5566 GB, free: 52.35 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.008281/1.569, allocations: 1.825 MB / 0.5584 GB, free: 51.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003616/1.572, allocations: 1.763 MB / 0.5601 GB, free: 49.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/1.572, allocations: 0 / 0.5601 GB, free: 49.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/1.736, allocations: 59.68 MB / 0.6184 GB, free: 12.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/1.736, allocations: 152.5 kB / 0.6186 GB, free: 11.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.436/6.173, allocations: 4.031 kB / 0.6186 GB, free: 11.89 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat