Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.956/1.956, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.417e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3791, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5345, allocations: 87.34 MB / 381.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5348, allocations: 87.94 kB / 381.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5833/1.118, allocations: 81.89 MB / 463.6 MB, free: 84.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.118, allocations: 0 / 463.6 MB, free: 84.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002299/1.118, allocations: 72 kB / 463.6 MB, free: 84.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.0135/1.132, allocations: 3.8 MB / 467.4 MB, free: 80.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/1.132, allocations: 8.031 kB / 467.4 MB, free: 80.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/1.151, allocations: 2.432 MB / 469.9 MB, free: 77.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/1.168, allocations: 5.043 MB / 474.9 MB, free: 72.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/1.168, allocations: 135 kB / 475 MB, free: 72.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/1.17, allocations: 235.9 kB / 475.3 MB, free: 72.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01392/1.184, allocations: 5.736 MB / 481 MB, free: 66.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/1.204, allocations: 8.883 MB / 489.9 MB, free: 56.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/1.205, allocations: 63.41 kB / 489.9 MB, free: 56.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007789/1.206, allocations: 36 kB / 490 MB, free: 56.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/1.208, allocations: 0.9824 MB / 491 MB, free: 55.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05379/1.261, allocations: 44.6 MB / 0.523 GB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/1.264, allocations: 1.83 MB / 0.5248 GB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/1.266, allocations: 0.7392 MB / 0.5255 GB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/1.266, allocations: 455.5 kB / 0.526 GB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.266, allocations: 47.12 kB / 0.526 GB, free: 6.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 4.187e-06/1.266, allocations: 0 / 0.526 GB, free: 6.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=142): time 0.02114/1.287, allocations: 6.859 MB / 0.5327 GB, free: 15.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/1.288, allocations: 145.2 kB / 0.5328 GB, free: 15.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006446/1.294, allocations: 2.978 MB / 0.5357 GB, free: 12.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002976/1.294, allocations: 25.7 kB / 0.5358 GB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003921/1.298, allocations: 3.136 MB / 0.5388 GB, free: 9.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/1.299, allocations: 0.5594 MB / 0.5394 GB, free: 8.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/1.3, allocations: 0 / 0.5394 GB, free: 8.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005504/1.301, allocations: 0.554 MB / 0.5399 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/1.304, allocations: 1.398 MB / 0.5413 GB, free: 6.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00681/1.311, allocations: 5.221 MB / 0.5464 GB, free: 15.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006509/1.318, allocations: 2.713 MB / 0.549 GB, free: 12.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.318, allocations: 40 kB / 0.5491 GB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01669/1.335, allocations: 5.705 MB / 0.5546 GB, free: 6.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.335, allocations: 64.19 kB / 0.5547 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/1.335, allocations: 144 kB / 0.5548 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/1.335, allocations: 200 kB / 0.555 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008561/1.344, allocations: 1.427 MB / 0.5564 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002602/1.344, allocations: 275 kB / 0.5567 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/1.35, allocations: 263.7 kB / 0.5569 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009979/1.351, allocations: 376 kB / 0.5573 GB, free: 4.215 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (750): * Single equations (assignments): 747 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009983/1.352, allocations: 444.6 kB / 0.5577 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003709/1.356, allocations: 1.475 MB / 0.5592 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/1.357, allocations: 304.1 kB / 0.5595 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/1.359, allocations: 0.9993 MB / 0.5604 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/1.36, allocations: 16 kB / 0.5604 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.36, allocations: 0 / 0.5604 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/1.36, allocations: 15.91 kB / 0.5605 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2806/1.64, allocations: 4.707 MB / 0.5651 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/1.64, allocations: 15.66 kB / 0.5651 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.642, allocations: 263.8 kB / 0.5653 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.342e-05/1.642, allocations: 27.69 kB / 0.5653 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.642, allocations: 26.45 kB / 0.5654 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.392e-05/1.642, allocations: 31.59 kB / 0.5654 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-05/1.642, allocations: 29.95 kB / 0.5654 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005752/1.648, allocations: 4.606 MB / 0.5699 GB, free: 96.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.65, allocations: 488 kB / 0.5704 GB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009548/1.651, allocations: 27.36 kB / 0.5704 GB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.653, allocations: 67.8 kB / 0.5705 GB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002966/1.654, allocations: 142.8 kB / 0.5706 GB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.654, allocations: 60.31 kB / 0.5707 GB, free: 96.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00479/1.659, allocations: 1.967 MB / 0.5726 GB, free: 96.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.659, allocations: 0 / 0.5726 GB, free: 96.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00692/1.666, allocations: 0.7306 MB / 0.5733 GB, free: 96.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00639/1.672, allocations: 9.164 MB / 0.5823 GB, free: 88.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007127/1.679, allocations: 3.232 MB / 0.5854 GB, free: 88.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/1.679, allocations: 3.156 kB / 0.5854 GB, free: 88.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/1.681, allocations: 0.6598 MB / 0.5861 GB, free: 88.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.684, allocations: 341.7 kB / 0.5864 GB, free: 88.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/1.708, allocations: 7.909 MB / 0.5941 GB, free: 86.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007078/1.715, allocations: 3.137 MB / 0.5972 GB, free: 85.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008363/1.724, allocations: 1.822 MB / 0.599 GB, free: 85.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003747/1.728, allocations: 1.761 MB / 0.6007 GB, free: 84.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/1.728, allocations: 0.5625 kB / 0.6007 GB, free: 84.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/1.897, allocations: 59.69 MB / 0.659 GB, free: 39.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.897, allocations: 168.7 kB / 0.6591 GB, free: 39.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.776/6.673, allocations: 0 / 0.6591 GB, free: 39.61 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat