Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.544e-05, allocations: 4 kB / 269.5 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6007, allocations: 97.66 MB / 414.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.6011, allocations: 89.39 kB / 414.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3343/0.9354, allocations: 73.17 MB / 488 MB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.9354, allocations: 0 / 488 MB, free: 4.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002784/0.9357, allocations: 71.98 kB / 488 MB, free: 4.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01388/0.9496, allocations: 3.396 MB / 491.4 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.9497, allocations: 12.03 kB / 491.4 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00299/0.9527, allocations: 0.6433 MB / 492.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.9695, allocations: 2.085 MB / 494.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/0.9858, allocations: 4.053 MB / 498.2 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.9861, allocations: 266.9 kB / 498.5 MB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/0.9873, allocations: 347.8 kB / 498.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02512/1.012, allocations: 8.88 MB / 0.4958 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/1.013, allocations: 59.45 kB / 0.4958 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007589/1.013, allocations: 175.9 kB / 0.496 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002002/1.015, allocations: 0.8839 MB / 0.4969 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/1.037, allocations: 7.002 MB / 0.5037 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.346/1.384, allocations: 42.96 MB / 0.5457 GB, free: 72.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/1.396, allocations: 3.272 MB / 0.5489 GB, free: 72.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/1.399, allocations: 1.438 MB / 0.5503 GB, free: 72.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009581/1.409, allocations: 4.432 MB / 0.5546 GB, free: 70.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.409, allocations: 47 kB / 0.5546 GB, free: 70.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 4.94e-06/1.409, allocations: 0 / 0.5546 GB, free: 70.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.03901/1.448, allocations: 9.629 MB / 0.564 GB, free: 67.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.448, allocations: 150.8 kB / 0.5642 GB, free: 67.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006677/1.455, allocations: 3.303 MB / 0.5674 GB, free: 67.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003489/1.455, allocations: 47.25 kB / 0.5675 GB, free: 67.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002305/1.458, allocations: 2.754 MB / 0.5701 GB, free: 65.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008043/1.459, allocations: 0.5202 MB / 0.5707 GB, free: 65.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/1.459, allocations: 105.4 kB / 0.5708 GB, free: 65.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003073/1.459, allocations: 0.5326 MB / 0.5713 GB, free: 65.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004423/1.464, allocations: 1.646 MB / 0.5729 GB, free: 65.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005914/1.47, allocations: 5.026 MB / 0.5778 GB, free: 60.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/1.476, allocations: 2.873 MB / 0.5806 GB, free: 59.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.476, allocations: 35.81 kB / 0.5806 GB, free: 59.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01671/1.493, allocations: 6.271 MB / 0.5868 GB, free: 57.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.493, allocations: 57.59 kB / 0.5868 GB, free: 57.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/1.493, allocations: 124.1 kB / 0.5869 GB, free: 57.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009939/1.494, allocations: 337.1 kB / 0.5873 GB, free: 57.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008135/1.503, allocations: 1.286 MB / 0.5885 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/1.506, allocations: 2.288 MB / 0.5907 GB, free: 55.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.512, allocations: 288 kB / 0.591 GB, free: 55.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.513, allocations: 332.7 kB / 0.5913 GB, free: 55.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (666): * Single equations (assignments): 662 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001192/1.514, allocations: 0.5264 MB / 0.5918 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/1.515, allocations: 311.9 kB / 0.5921 GB, free: 54.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007598/1.523, allocations: 2.346 MB / 0.5944 GB, free: 53.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/1.523, allocations: 17.78 kB / 0.5945 GB, free: 53.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.523, allocations: 3.75 kB / 0.5945 GB, free: 53.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.333e-05/1.523, allocations: 8.188 kB / 0.5945 GB, free: 53.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/1.542, allocations: 5.942 MB / 0.6003 GB, free: 51.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/1.542, allocations: 0 / 0.6003 GB, free: 51.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/1.543, allocations: 177 kB / 0.6004 GB, free: 51.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/1.547, allocations: 0.7094 MB / 0.6011 GB, free: 51.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/1.547, allocations: 19.77 kB / 0.6011 GB, free: 51.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008544/1.556, allocations: 4.447 MB / 0.6055 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.556, allocations: 3.969 kB / 0.6055 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.567, allocations: 4.421 MB / 0.6098 GB, free: 47.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.569, allocations: 0.5327 MB / 0.6103 GB, free: 46.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009137/1.57, allocations: 19.59 kB / 0.6103 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/1.573, allocations: 64.14 kB / 0.6104 GB, free: 46.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004708/1.573, allocations: 77.91 kB / 0.6105 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.573, allocations: 33.36 kB / 0.6105 GB, free: 46.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00583/1.579, allocations: 2.299 MB / 0.6128 GB, free: 45.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.579, allocations: 0 / 0.6128 GB, free: 45.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006378/1.586, allocations: 0.8263 MB / 0.6136 GB, free: 44.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/1.597, allocations: 5.35 MB / 0.6188 GB, free: 39.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008394/1.606, allocations: 3.788 MB / 0.6225 GB, free: 36.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.606, allocations: 0 / 0.6225 GB, free: 36.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002185/1.608, allocations: 1.078 MB / 0.6235 GB, free: 35.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/1.611, allocations: 362.2 kB / 0.6239 GB, free: 35.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.633, allocations: 7.04 MB / 0.6308 GB, free: 29.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004849/1.638, allocations: 2.854 MB / 0.6336 GB, free: 26.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007237/1.645, allocations: 1.67 MB / 0.6352 GB, free: 25.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003648/1.648, allocations: 1.53 MB / 0.6367 GB, free: 24.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.973e-06/1.649, allocations: 0 / 0.6367 GB, free: 24.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4866/2.135, allocations: 64.78 MB / 0.6999 GB, free: 111 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/2.135, allocations: 189.5 kB / 0.7001 GB, free: 110.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.008/7.143, allocations: 0 / 0.7001 GB, free: 110.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat