Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.533e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.4328, allocations: 85.19 MB / 349.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.4332, allocations: 83.95 kB / 349.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5115/0.9448, allocations: 71.68 MB / 420.8 MB, free: 52.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.9448, allocations: 0 / 420.8 MB, free: 52.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002041/0.9451, allocations: 72 kB / 420.9 MB, free: 52.67 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01253/0.9576, allocations: 3.357 MB / 424.3 MB, free: 49.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.9577, allocations: 8.031 kB / 424.3 MB, free: 49.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002599/0.9603, allocations: 0.6388 MB / 424.9 MB, free: 48.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.9764, allocations: 2.078 MB / 427 MB, free: 46.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/0.9916, allocations: 4.018 MB / 431 MB, free: 42.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.992, allocations: 258.8 kB / 431.2 MB, free: 42.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.994, allocations: 351.8 kB / 431.6 MB, free: 41.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/1.018, allocations: 8.753 MB / 440.3 MB, free: 32.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002391/1.019, allocations: 59.47 kB / 440.4 MB, free: 32.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001631/1.02, allocations: 175.8 kB / 440.6 MB, free: 31.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/1.022, allocations: 0.8643 MB / 441.4 MB, free: 30.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/1.042, allocations: 6.896 MB / 448.3 MB, free: 24.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06423/1.107, allocations: 42.59 MB / 490.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/1.12, allocations: 3.148 MB / 494.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003424/1.123, allocations: 1.416 MB / 495.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.135, allocations: 4.088 MB / 499.6 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/1.135, allocations: 47.12 kB / 499.6 MB, free: 3.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.4e-06/1.135, allocations: 4 kB / 499.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.2835/1.418, allocations: 9.382 MB / 0.4971 GB, free: 85.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.418, allocations: 140.6 kB / 0.4972 GB, free: 85.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008245/1.427, allocations: 3.284 MB / 0.5004 GB, free: 84.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003743/1.427, allocations: 41.23 kB / 0.5005 GB, free: 84.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002616/1.43, allocations: 2.728 MB / 0.5031 GB, free: 83.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008149/1.431, allocations: 0.4977 MB / 0.5036 GB, free: 83.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006321/1.431, allocations: 103.2 kB / 0.5037 GB, free: 83.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003728/1.432, allocations: 0.5242 MB / 0.5042 GB, free: 82.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004105/1.436, allocations: 1.632 MB / 0.5058 GB, free: 82.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00672/1.443, allocations: 4.983 MB / 0.5107 GB, free: 78.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006452/1.449, allocations: 2.847 MB / 0.5135 GB, free: 78.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001431/1.449, allocations: 34.53 kB / 0.5135 GB, free: 78.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01738/1.467, allocations: 6.223 MB / 0.5196 GB, free: 77.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.467, allocations: 56.59 kB / 0.5196 GB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/1.467, allocations: 124.8 kB / 0.5197 GB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.468, allocations: 344.6 kB / 0.5201 GB, free: 77.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008003/1.476, allocations: 1.268 MB / 0.5213 GB, free: 76.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/1.48, allocations: 2.334 MB / 0.5236 GB, free: 75.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006066/1.486, allocations: 280.4 kB / 0.5239 GB, free: 75.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/1.487, allocations: 335.7 kB / 0.5242 GB, free: 75.11 MB / 346.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.002029/1.489, allocations: 0.5118 MB / 0.5247 GB, free: 74.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008324/1.49, allocations: 308.2 kB / 0.525 GB, free: 74.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00802/1.498, allocations: 2.314 MB / 0.5272 GB, free: 73.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/1.498, allocations: 21.83 kB / 0.5272 GB, free: 73.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.498, allocations: 3.219 kB / 0.5272 GB, free: 73.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/1.498, allocations: 3.234 kB / 0.5273 GB, free: 73.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.518, allocations: 5.825 MB / 0.5329 GB, free: 71.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.518, allocations: 3.953 kB / 0.5329 GB, free: 71.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.519, allocations: 168.3 kB / 0.5331 GB, free: 71.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003821/1.523, allocations: 0.7087 MB / 0.5338 GB, free: 71.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/1.524, allocations: 19.31 kB / 0.5338 GB, free: 71.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008882/1.533, allocations: 4.44 MB / 0.5382 GB, free: 68.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.533, allocations: 0 / 0.5382 GB, free: 68.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.544, allocations: 4.366 MB / 0.5424 GB, free: 64.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.546, allocations: 0.5323 MB / 0.5429 GB, free: 64.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.547, allocations: 20 kB / 0.543 GB, free: 64.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/1.55, allocations: 71.52 kB / 0.543 GB, free: 64.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/1.55, allocations: 61.8 kB / 0.5431 GB, free: 64.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.55, allocations: 28 kB / 0.5431 GB, free: 64.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006024/1.556, allocations: 2.273 MB / 0.5453 GB, free: 62.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.563e-06/1.556, allocations: 4.062 kB / 0.5453 GB, free: 62.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006698/1.563, allocations: 0.8122 MB / 0.5461 GB, free: 61.33 MB / 346.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.01167/1.575, allocations: 5.288 MB / 0.5513 GB, free: 56.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008683/1.584, allocations: 3.725 MB / 0.5549 GB, free: 53.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.584, allocations: 0 / 0.5549 GB, free: 53.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.586, allocations: 1.061 MB / 0.556 GB, free: 52.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/1.589, allocations: 354.8 kB / 0.5563 GB, free: 51.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/1.613, allocations: 6.921 MB / 0.5631 GB, free: 45.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005807/1.619, allocations: 2.834 MB / 0.5658 GB, free: 43.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007818/1.627, allocations: 1.647 MB / 0.5674 GB, free: 42.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00391/1.631, allocations: 1.514 MB / 0.5689 GB, free: 41.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/1.631, allocations: 0 / 0.5689 GB, free: 41.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4274/2.059, allocations: 63.93 MB / 0.6313 GB, free: 87.11 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/2.059, allocations: 189 kB / 0.6315 GB, free: 86.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.714/6.773, allocations: 0 / 0.6315 GB, free: 86.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.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat