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.711/1.711, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.546e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 38.76 MB / 263.9 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.4072, allocations: 85.18 MB / 349 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.4076, allocations: 87.95 kB / 349.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.492/0.8996, allocations: 71.68 MB / 420.8 MB, free: 52.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.8996, allocations: 0 / 420.8 MB, free: 52.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001774/0.8998, allocations: 71.94 kB / 420.9 MB, free: 52.89 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.01092/0.9107, allocations: 3.349 MB / 424.2 MB, free: 49.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.9108, allocations: 8.031 kB / 424.2 MB, free: 49.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00185/0.9127, allocations: 0.6427 MB / 424.9 MB, free: 48.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.9278, allocations: 2.082 MB / 427 MB, free: 46.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/0.9416, allocations: 4.018 MB / 431 MB, free: 42.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.9419, allocations: 258.8 kB / 431.2 MB, free: 42.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.9432, allocations: 343.8 kB / 431.6 MB, free: 42.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/0.9635, allocations: 8.79 MB / 440.3 MB, free: 32.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001971/0.9637, allocations: 63.41 kB / 440.4 MB, free: 32.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008068/0.9646, allocations: 175.8 kB / 440.6 MB, free: 32.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/0.9663, allocations: 0.8643 MB / 441.4 MB, free: 31.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.9854, allocations: 7.055 MB / 448.5 MB, free: 24.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05736/1.043, allocations: 42.6 MB / 491.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/1.056, allocations: 3.159 MB / 494.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003311/1.059, allocations: 1.416 MB / 495.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/1.069, allocations: 4.088 MB / 499.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/1.069, allocations: 51.05 kB / 499.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 4.709e-06/1.069, allocations: 0 / 499.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.2682/1.338, allocations: 9.391 MB / 0.4973 GB, free: 85.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.338, allocations: 135.9 kB / 0.4974 GB, free: 85.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007074/1.345, allocations: 3.274 MB / 0.5006 GB, free: 84.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003047/1.345, allocations: 42.8 kB / 0.5006 GB, free: 84.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.347, allocations: 2.734 MB / 0.5033 GB, free: 83.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007865/1.348, allocations: 0.4958 MB / 0.5038 GB, free: 83.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005518/1.349, allocations: 106.3 kB / 0.5039 GB, free: 83.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003205/1.349, allocations: 0.5229 MB / 0.5044 GB, free: 82.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003766/1.353, allocations: 1.632 MB / 0.506 GB, free: 82.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/1.359, allocations: 5.021 MB / 0.5109 GB, free: 78.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/1.365, allocations: 2.835 MB / 0.5137 GB, free: 78.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/1.365, allocations: 40.55 kB / 0.5137 GB, free: 78.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01648/1.381, allocations: 6.561 MB / 0.5201 GB, free: 76.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.473e-05/1.381, allocations: 54.66 kB / 0.5202 GB, free: 76.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.382, allocations: 121.3 kB / 0.5203 GB, free: 76.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009146/1.383, allocations: 343.1 kB / 0.5206 GB, free: 76.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007521/1.39, allocations: 1.266 MB / 0.5218 GB, free: 76.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/1.393, allocations: 2.338 MB / 0.5241 GB, free: 74.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005512/1.399, allocations: 281.5 kB / 0.5244 GB, free: 74.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009747/1.4, allocations: 330.9 kB / 0.5247 GB, free: 74.81 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.001034/1.401, allocations: 0.5214 MB / 0.5252 GB, free: 74.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007427/1.402, allocations: 306.4 kB / 0.5255 GB, free: 74.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007133/1.409, allocations: 2.318 MB / 0.5278 GB, free: 73.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/1.409, allocations: 10.97 kB / 0.5278 GB, free: 73.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.409, allocations: 7.906 kB / 0.5278 GB, free: 73.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/1.409, allocations: 10.77 kB / 0.5278 GB, free: 73.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.426, allocations: 5.825 MB / 0.5335 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/1.426, allocations: 3.844 kB / 0.5335 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.427, allocations: 166.1 kB / 0.5337 GB, free: 71.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/1.431, allocations: 0.706 MB / 0.5343 GB, free: 71.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.431, allocations: 19.25 kB / 0.5344 GB, free: 71.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008023/1.439, allocations: 4.439 MB / 0.5387 GB, free: 68.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.439, allocations: 11.8 kB / 0.5387 GB, free: 68.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009783/1.449, allocations: 4.354 MB / 0.543 GB, free: 64.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.451, allocations: 0.5309 MB / 0.5435 GB, free: 63.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/1.451, allocations: 16 kB / 0.5435 GB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.453, allocations: 71.72 kB / 0.5436 GB, free: 63.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/1.453, allocations: 60.52 kB / 0.5436 GB, free: 63.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.453, allocations: 42.67 kB / 0.5437 GB, free: 63.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00431/1.458, allocations: 2.27 MB / 0.5459 GB, free: 61.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.458, allocations: 0 / 0.5459 GB, free: 61.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005267/1.463, allocations: 0.8137 MB / 0.5467 GB, free: 60.96 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.01031/1.473, allocations: 5.282 MB / 0.5518 GB, free: 56.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007859/1.481, allocations: 3.896 MB / 0.5556 GB, free: 52.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.481, allocations: 0 / 0.5556 GB, free: 52.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.483, allocations: 1.07 MB / 0.5567 GB, free: 51.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.486, allocations: 356.5 kB / 0.557 GB, free: 51.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.504, allocations: 6.937 MB / 0.5638 GB, free: 45.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/1.507, allocations: 2.824 MB / 0.5666 GB, free: 43.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006193/1.514, allocations: 1.651 MB / 0.5682 GB, free: 42.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002873/1.516, allocations: 1.519 MB / 0.5697 GB, free: 40.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/1.516, allocations: 4 kB / 0.5697 GB, free: 40.76 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.574/2.09, allocations: 64.43 MB / 0.6326 GB, free: 87.89 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/2.091, allocations: 194.3 kB / 0.6328 GB, free: 87.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.557/6.648, allocations: 0 / 0.6328 GB, free: 87.66 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