Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.9 MB / 208 MB, free: 3.195 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.801e-05, allocations: 10.39 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.09993, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.5716, allocations: 90.93 MB / 390.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5719, allocations: 89.62 kB / 391 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2917/0.8636, allocations: 71.69 MB / 462.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.8637, allocations: 0 / 462.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002449/0.8639, allocations: 68 kB / 462.7 MB, free: 3.914 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01379/0.8777, allocations: 3.352 MB / 466.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.8778, allocations: 8.031 kB / 466.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003198/0.881, allocations: 0.6406 MB / 466.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/0.8979, allocations: 2.081 MB / 468.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01679/0.9147, allocations: 4.01 MB / 472.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.9152, allocations: 264.3 kB / 473.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.9173, allocations: 349 kB / 473.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/0.9453, allocations: 8.753 MB / 482.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002542/0.9456, allocations: 51.47 kB / 482.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/0.9472, allocations: 178 kB / 482.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002312/0.9495, allocations: 0.8681 MB / 483.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.9726, allocations: 6.888 MB / 490.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3886/1.361, allocations: 42.59 MB / 0.5203 GB, free: 69.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/1.374, allocations: 3.146 MB / 0.5233 GB, free: 68.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003405/1.378, allocations: 1.418 MB / 0.5247 GB, free: 68.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.016/1.394, allocations: 4.086 MB / 0.5287 GB, free: 67.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/1.394, allocations: 50.62 kB / 0.5288 GB, free: 67.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 7.054e-06/1.394, allocations: 0 / 0.5288 GB, free: 67.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.06024/1.454, allocations: 9.391 MB / 0.5379 GB, free: 65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/1.454, allocations: 144.2 kB / 0.5381 GB, free: 64.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/1.466, allocations: 3.274 MB / 0.5413 GB, free: 64.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004536/1.466, allocations: 40.39 kB / 0.5413 GB, free: 64.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003631/1.47, allocations: 2.734 MB / 0.544 GB, free: 63.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.471, allocations: 0.4974 MB / 0.5445 GB, free: 62.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008511/1.472, allocations: 102.8 kB / 0.5446 GB, free: 62.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005376/1.472, allocations: 0.5254 MB / 0.5451 GB, free: 62.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006145/1.479, allocations: 1.63 MB / 0.5467 GB, free: 62.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009512/1.488, allocations: 4.989 MB / 0.5515 GB, free: 58.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009185/1.497, allocations: 2.853 MB / 0.5543 GB, free: 58.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/1.498, allocations: 31.31 kB / 0.5544 GB, free: 58.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02571/1.523, allocations: 6.21 MB / 0.5604 GB, free: 57.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000164/1.524, allocations: 56.25 kB / 0.5605 GB, free: 57.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/1.524, allocations: 124.3 kB / 0.5606 GB, free: 57.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/1.525, allocations: 341.4 kB / 0.5609 GB, free: 57.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/1.537, allocations: 1.273 MB / 0.5622 GB, free: 57.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/1.542, allocations: 2.337 MB / 0.5644 GB, free: 56.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008996/1.551, allocations: 279.2 kB / 0.5647 GB, free: 56.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.553, allocations: 333.3 kB / 0.565 GB, free: 56.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * 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.002116/1.555, allocations: 0.5191 MB / 0.5655 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.556, allocations: 311.2 kB / 0.5658 GB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.567, allocations: 2.306 MB / 0.5681 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.309e-05/1.567, allocations: 16.42 kB / 0.5681 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/1.567, allocations: 3.969 kB / 0.5681 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/1.567, allocations: 14.53 kB / 0.5681 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.593, allocations: 5.818 MB / 0.5738 GB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/1.593, allocations: 0 / 0.5738 GB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.596, allocations: 171 kB / 0.574 GB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006389/1.602, allocations: 0.7075 MB / 0.5747 GB, free: 53.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003561/1.603, allocations: 22.34 kB / 0.5747 GB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/1.614, allocations: 4.442 MB / 0.579 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.614, allocations: 3.781 kB / 0.579 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.624, allocations: 4.357 MB / 0.5833 GB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.626, allocations: 0.528 MB / 0.5838 GB, free: 48.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000742/1.627, allocations: 23.83 kB / 0.5838 GB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.629, allocations: 67.45 kB / 0.5839 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/1.629, allocations: 66.92 kB / 0.5839 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.63, allocations: 32.41 kB / 0.584 GB, free: 48.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005609/1.635, allocations: 2.275 MB / 0.5862 GB, free: 47.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.635, allocations: 0 / 0.5862 GB, free: 47.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006456/1.642, allocations: 0.8128 MB / 0.587 GB, free: 47.89 MB / 410.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 (90): * Single equations (assignments): 86 * 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.01146/1.653, allocations: 5.271 MB / 0.5921 GB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008696/1.662, allocations: 3.735 MB / 0.5958 GB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.662, allocations: 0 / 0.5958 GB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.664, allocations: 1.06 MB / 0.5968 GB, free: 41.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.668, allocations: 350.9 kB / 0.5972 GB, free: 41.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/1.691, allocations: 6.932 MB / 0.6039 GB, free: 35.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005531/1.697, allocations: 2.836 MB / 0.6067 GB, free: 33.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007576/1.705, allocations: 1.643 MB / 0.6083 GB, free: 32.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00364/1.708, allocations: 1.512 MB / 0.6098 GB, free: 31.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.724e-06/1.708, allocations: 4 kB / 0.6098 GB, free: 31.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1594/1.868, allocations: 63.91 MB / 0.6722 GB, free: 5.344 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/1.868, allocations: 197.7 kB / 0.6724 GB, free: 5.113 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.079/6.947, allocations: 3.938 kB / 0.6724 GB, free: 5.109 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat