Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.24e-05, allocations: 4 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 50.41 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5628, allocations: 96.67 MB / 439.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.5632, allocations: 82.39 kB / 439.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3784/0.9416, allocations: 85.95 MB / 0.513 GB, free: 11.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.9417, allocations: 0 / 0.513 GB, free: 11.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002288/0.9419, allocations: 83.98 kB / 0.5131 GB, free: 11.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01397/0.9559, allocations: 3.826 MB / 0.5169 GB, free: 7.355 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.956, allocations: 15.97 kB / 0.5169 GB, free: 7.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002974/0.959, allocations: 0.7457 MB / 0.5176 GB, free: 6.582 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/0.979, allocations: 2.436 MB / 0.52 GB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3193/1.298, allocations: 4.771 MB / 0.5246 GB, free: 99.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004971/1.299, allocations: 312.1 kB / 0.5249 GB, free: 99.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002372/1.301, allocations: 413.8 kB / 0.5253 GB, free: 99.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/1.332, allocations: 9.894 MB / 0.535 GB, free: 97.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003579/1.332, allocations: 61.27 kB / 0.5351 GB, free: 97.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002139/1.334, allocations: 202.1 kB / 0.5352 GB, free: 97.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003862/1.338, allocations: 1.003 MB / 0.5362 GB, free: 97.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/1.363, allocations: 7.467 MB / 0.5435 GB, free: 97.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06201/1.425, allocations: 45.65 MB / 0.5881 GB, free: 65.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.436, allocations: 2.822 MB / 0.5909 GB, free: 63.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/1.437, allocations: 0.8409 MB / 0.5917 GB, free: 63.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008744/1.446, allocations: 3.802 MB / 0.5954 GB, free: 61.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/1.446, allocations: 54.06 kB / 0.5954 GB, free: 61.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 4.899e-06/1.446, allocations: 0 / 0.5954 GB, free: 61.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=152): time 0.03175/1.478, allocations: 8.325 MB / 0.6036 GB, free: 57.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.478, allocations: 150.1 kB / 0.6037 GB, free: 57.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/1.485, allocations: 3.426 MB / 0.6071 GB, free: 56.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/1.485, allocations: 44.95 kB / 0.6071 GB, free: 56.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/1.488, allocations: 3.089 MB / 0.6101 GB, free: 54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/1.489, allocations: 0.6163 MB / 0.6107 GB, free: 53.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/1.489, allocations: 117.2 kB / 0.6108 GB, free: 53.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003277/1.489, allocations: 0.5555 MB / 0.6114 GB, free: 53.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/1.493, allocations: 1.476 MB / 0.6128 GB, free: 52.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005687/1.499, allocations: 5.185 MB / 0.6179 GB, free: 47.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/1.505, allocations: 2.788 MB / 0.6206 GB, free: 46.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/1.505, allocations: 37.53 kB / 0.6206 GB, free: 46.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01587/1.521, allocations: 6.076 MB / 0.6266 GB, free: 43.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.521, allocations: 60.75 kB / 0.6266 GB, free: 43.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/1.521, allocations: 136.5 kB / 0.6268 GB, free: 43.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/1.521, allocations: 195.4 kB / 0.6269 GB, free: 43.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008116/1.53, allocations: 1.402 MB / 0.6283 GB, free: 42.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002364/1.53, allocations: 262.1 kB / 0.6286 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006668/1.537, allocations: 368.5 kB / 0.6289 GB, free: 42.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.538, allocations: 363.5 kB / 0.6293 GB, free: 42.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (736): * Single equations (assignments): 733 * 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.001467/1.539, allocations: 0.5611 MB / 0.6298 GB, free: 41.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007472/1.54, allocations: 335.7 kB / 0.6301 GB, free: 41.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/1.543, allocations: 1.213 MB / 0.6313 GB, free: 40.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.222e-05/1.543, allocations: 16 kB / 0.6313 GB, free: 40.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.543, allocations: 11.95 kB / 0.6313 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.543, allocations: 6.703 kB / 0.6314 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.557, allocations: 5.723 MB / 0.6369 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/1.557, allocations: 16.22 kB / 0.637 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.559, allocations: 278.8 kB / 0.6372 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.76e-05/1.559, allocations: 39.83 kB / 0.6373 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/1.559, allocations: 51.42 kB / 0.6373 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-05/1.559, allocations: 36.33 kB / 0.6373 GB, free: 34.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-05/1.559, allocations: 28.28 kB / 0.6374 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/1.564, allocations: 5.329 MB / 0.6426 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.565, allocations: 425.4 kB / 0.643 GB, free: 28.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/1.566, allocations: 55.25 kB / 0.643 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/1.568, allocations: 82.88 kB / 0.6431 GB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.568, allocations: 151.6 kB / 0.6433 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.568, allocations: 76.86 kB / 0.6433 GB, free: 28.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004914/1.573, allocations: 2.36 MB / 0.6456 GB, free: 26.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.573, allocations: 3.844 kB / 0.6456 GB, free: 26.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006578/1.58, allocations: 0.8791 MB / 0.6465 GB, free: 25.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * 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 (144): * Single equations (assignments): 141 * 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.006669/1.587, allocations: 10.56 MB / 0.6568 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007126/1.594, allocations: 3.326 MB / 0.6601 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.594, allocations: 0 / 0.6601 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/1.595, allocations: 0.6908 MB / 0.6607 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.598, allocations: 420.7 kB / 0.6611 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/1.621, allocations: 8.273 MB / 0.6692 GB, free: 2.875 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005434/1.627, allocations: 3.183 MB / 0.6723 GB, free: 460 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01346/1.64, allocations: 2.1 MB / 0.6744 GB, free: 0 / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01089/1.651, allocations: 2.233 MB / 0.6766 GB, free: 15.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/1.651, allocations: 7.938 kB / 0.6766 GB, free: 15.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4866/2.138, allocations: 65.03 MB / 0.7401 GB, free: 96.28 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/2.138, allocations: 181.1 kB / 0.7402 GB, free: 96.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.095/7.233, allocations: 0 / 0.7402 GB, free: 96.05 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat