Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.675/1.675, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.234e-05, allocations: 0 / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.3935, allocations: 80.4 MB / 344.3 MB, free: 9.293 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.3938, allocations: 83.95 kB / 344.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5514/0.9453, allocations: 77.56 MB / 421.9 MB, free: 51.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.9454, allocations: 0 / 421.9 MB, free: 51.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002073/0.9456, allocations: 72 kB / 422 MB, free: 51.39 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.02148/0.9671, allocations: 4.055 MB / 426 MB, free: 47.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.9671, allocations: 8.031 kB / 426 MB, free: 47.26 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00308/0.9702, allocations: 0.7495 MB / 426.8 MB, free: 46.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/0.9874, allocations: 2.226 MB / 429 MB, free: 44.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.004, allocations: 4.331 MB / 433.3 MB, free: 39.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/1.004, allocations: 320.2 kB / 433.7 MB, free: 39.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/1.006, allocations: 407.9 kB / 434.1 MB, free: 39.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02812/1.035, allocations: 10.15 MB / 444.2 MB, free: 27.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002073/1.035, allocations: 55.5 kB / 444.3 MB, free: 27.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001588/1.037, allocations: 207.9 kB / 444.5 MB, free: 27.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/1.039, allocations: 0.9859 MB / 445.4 MB, free: 26.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/1.062, allocations: 7.963 MB / 453.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07153/1.134, allocations: 48.24 MB / 0.4899 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2493/1.383, allocations: 3.546 MB / 0.4934 GB, free: 81.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/1.386, allocations: 1.308 MB / 0.4946 GB, free: 81.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/1.401, allocations: 6.508 MB / 0.501 GB, free: 79.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.401, allocations: 49.23 kB / 0.501 GB, free: 79.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.45e-06/1.401, allocations: 3.188 kB / 0.501 GB, free: 79.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.04157/1.442, allocations: 9.575 MB / 0.5104 GB, free: 77.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001363/1.444, allocations: 1.591 MB / 0.5119 GB, free: 75.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008036/1.452, allocations: 3.331 MB / 0.5152 GB, free: 75.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003895/1.452, allocations: 44.75 kB / 0.5152 GB, free: 75.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002686/1.455, allocations: 3.073 MB / 0.5182 GB, free: 73.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000948/1.456, allocations: 0.5796 MB / 0.5188 GB, free: 73.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007337/1.457, allocations: 121 kB / 0.5189 GB, free: 73.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004478/1.457, allocations: 0.5623 MB / 0.5195 GB, free: 72.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004927/1.462, allocations: 1.889 MB / 0.5213 GB, free: 72.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007378/1.47, allocations: 5.765 MB / 0.5269 GB, free: 66.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007244/1.477, allocations: 3.27 MB / 0.5301 GB, free: 65.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001458/1.477, allocations: 36.28 kB / 0.5302 GB, free: 65.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02513/1.502, allocations: 8.475 MB / 0.5385 GB, free: 63.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.503, allocations: 65.66 kB / 0.5385 GB, free: 63.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009896/1.512, allocations: 2.643 MB / 0.5411 GB, free: 62.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008752/1.521, allocations: 1.533 MB / 0.5426 GB, free: 61.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007722/1.529, allocations: 1.369 MB / 0.5439 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007022/1.536, allocations: 5.172 MB / 0.549 GB, free: 55.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007304/1.543, allocations: 426.8 kB / 0.5494 GB, free: 55.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.545, allocations: 388.9 kB / 0.5498 GB, free: 54.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (720): * Single equations (assignments): 710 * 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 {1} * 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.001755/1.547, allocations: 0.5703 MB / 0.5503 GB, free: 54.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007946/1.547, allocations: 319.8 kB / 0.5506 GB, free: 53.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.558, allocations: 2.986 MB / 0.5535 GB, free: 51.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009576/1.568, allocations: 2.541 MB / 0.556 GB, free: 49.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/1.568, allocations: 4 kB / 0.556 GB, free: 49.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/1.568, allocations: 10.41 kB / 0.556 GB, free: 49.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009192/1.577, allocations: 3.555 MB / 0.5595 GB, free: 46.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/1.577, allocations: 7.938 kB / 0.5595 GB, free: 46.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.579, allocations: 167 kB / 0.5597 GB, free: 46.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008321/1.588, allocations: 1.432 MB / 0.5611 GB, free: 45.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000374/1.588, allocations: 27.14 kB / 0.5611 GB, free: 45.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009106/1.597, allocations: 5.746 MB / 0.5667 GB, free: 40.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001079/1.598, allocations: 1.454 MB / 0.5681 GB, free: 38.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/1.613, allocations: 5.138 MB / 0.5731 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.614, allocations: 373.6 kB / 0.5735 GB, free: 34.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009965/1.615, allocations: 24 kB / 0.5735 GB, free: 33.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/1.618, allocations: 137 kB / 0.5737 GB, free: 33.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000471/1.618, allocations: 88.78 kB / 0.5737 GB, free: 33.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.619, allocations: 39.66 kB / 0.5738 GB, free: 33.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005526/1.624, allocations: 2.269 MB / 0.576 GB, free: 31.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.624, allocations: 0 / 0.576 GB, free: 31.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006706/1.631, allocations: 0.9764 MB / 0.5769 GB, free: 30.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (73): * Single equations (assignments): 65 * 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 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.01318/1.644, allocations: 5.749 MB / 0.5826 GB, free: 25.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01311/1.657, allocations: 5.048 MB / 0.5875 GB, free: 21.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.657, allocations: 4.188 kB / 0.5875 GB, free: 21.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006273/1.664, allocations: 1.929 MB / 0.5894 GB, free: 19.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/1.666, allocations: 344.5 kB / 0.5897 GB, free: 19.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/1.694, allocations: 8.479 MB / 0.598 GB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00581/1.7, allocations: 3.118 MB / 0.601 GB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.008152/1.708, allocations: 1.775 MB / 0.6028 GB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003751/1.712, allocations: 1.706 MB / 0.6044 GB, free: 4.227 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/1.712, allocations: 0 / 0.6044 GB, free: 4.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4133/2.125, allocations: 71.76 MB / 0.6745 GB, free: 64.76 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/2.125, allocations: 203 kB / 0.6747 GB, free: 64.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.364/7.489, allocations: 0 / 0.6747 GB, free: 64.53 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat