Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.796e-05, allocations: 4.938 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4209, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.6283, allocations: 97.32 MB / 457.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.6286, allocations: 72.91 kB / 457.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6954/1.324, allocations: 84.79 MB / 0.5294 GB, free: 102.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.524e-06/1.324, allocations: 0 / 0.5294 GB, free: 102.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003169/1.324, allocations: 86.11 kB / 0.5294 GB, free: 102.5 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01722/1.342, allocations: 3.905 MB / 0.5333 GB, free: 100.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/1.342, allocations: 7.688 kB / 0.5333 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004098/1.346, allocations: 0.7613 MB / 0.534 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02187/1.368, allocations: 2.437 MB / 0.5364 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/1.389, allocations: 5.125 MB / 0.5414 GB, free: 99.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007022/1.39, allocations: 322.7 kB / 0.5417 GB, free: 99.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002899/1.393, allocations: 435.1 kB / 0.5421 GB, free: 99.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/1.428, allocations: 10.3 MB / 0.5522 GB, free: 97.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003865/1.428, allocations: 63.83 kB / 0.5522 GB, free: 97.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002546/1.431, allocations: 211.8 kB / 0.5524 GB, free: 97.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/1.434, allocations: 1.006 MB / 0.5534 GB, free: 97.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/1.459, allocations: 7.775 MB / 0.561 GB, free: 96.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06894/1.528, allocations: 47.44 MB / 0.6073 GB, free: 59.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/1.541, allocations: 3.002 MB / 0.6103 GB, free: 58.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/1.543, allocations: 0.9624 MB / 0.6112 GB, free: 57.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/1.556, allocations: 5.202 MB / 0.6163 GB, free: 54.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.556, allocations: 43.25 kB / 0.6163 GB, free: 54.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=134): time 5.771e-06/1.556, allocations: 4.562 kB / 0.6163 GB, free: 54.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.03736/1.594, allocations: 8.269 MB / 0.6244 GB, free: 50.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/1.594, allocations: 199.8 kB / 0.6246 GB, free: 50.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009907/1.604, allocations: 3.54 MB / 0.6281 GB, free: 48.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003371/1.604, allocations: 45.7 kB / 0.6281 GB, free: 48.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003004/1.607, allocations: 3.156 MB / 0.6312 GB, free: 45.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008939/1.608, allocations: 0.5892 MB / 0.6318 GB, free: 44.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007422/1.609, allocations: 120 kB / 0.6319 GB, free: 44.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004687/1.609, allocations: 0.5545 MB / 0.6324 GB, free: 44.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00432/1.614, allocations: 1.521 MB / 0.6339 GB, free: 42.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006904/1.621, allocations: 5.284 MB / 0.6391 GB, free: 35.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006519/1.627, allocations: 2.847 MB / 0.6418 GB, free: 33.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/1.628, allocations: 36 kB / 0.6419 GB, free: 33.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01729/1.645, allocations: 6.199 MB / 0.6479 GB, free: 27.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.645, allocations: 60 kB / 0.648 GB, free: 27.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/1.645, allocations: 136 kB / 0.6481 GB, free: 27.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/1.645, allocations: 200 kB / 0.6483 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008657/1.654, allocations: 1.411 MB / 0.6497 GB, free: 26.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002781/1.654, allocations: 271.1 kB / 0.6499 GB, free: 25.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007427/1.662, allocations: 380.2 kB / 0.6503 GB, free: 25.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.663, allocations: 363.5 kB / 0.6507 GB, free: 25.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (746): * Single equations (assignments): 743 * 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.001978/1.665, allocations: 0.5791 MB / 0.6512 GB, free: 24.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008852/1.666, allocations: 343.5 kB / 0.6516 GB, free: 24.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/1.67, allocations: 1.223 MB / 0.6527 GB, free: 23.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/1.67, allocations: 16 kB / 0.6528 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.67, allocations: 4 kB / 0.6528 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/1.67, allocations: 3.703 kB / 0.6528 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/1.687, allocations: 5.49 MB / 0.6581 GB, free: 18.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/1.687, allocations: 21.69 kB / 0.6581 GB, free: 18.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.689, allocations: 252.2 kB / 0.6584 GB, free: 18.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.44e-05/1.689, allocations: 24 kB / 0.6584 GB, free: 18.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/1.689, allocations: 47.42 kB / 0.6585 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.821e-05/1.689, allocations: 32.25 kB / 0.6585 GB, free: 18.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.822e-05/1.689, allocations: 27.88 kB / 0.6585 GB, free: 18.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/1.695, allocations: 4.839 MB / 0.6632 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.697, allocations: 0.5267 MB / 0.6638 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/1.699, allocations: 44.27 kB / 0.6638 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/1.702, allocations: 88.86 kB / 0.6639 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.702, allocations: 140.2 kB / 0.664 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.703, allocations: 63.06 kB / 0.6641 GB, free: 12.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006694/1.709, allocations: 2.44 MB / 0.6665 GB, free: 9.832 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.709, allocations: 0 / 0.6665 GB, free: 9.832 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007635/1.717, allocations: 0.8906 MB / 0.6673 GB, free: 8.941 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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.01015/1.727, allocations: 9.331 MB / 0.6764 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00955/1.737, allocations: 3.354 MB / 0.6797 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/1.737, allocations: 4 kB / 0.6797 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.739, allocations: 0.6715 MB / 0.6804 GB, free: 12.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.743, allocations: 437.9 kB / 0.6808 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/1.774, allocations: 8.271 MB / 0.6889 GB, free: 3.816 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008371/1.782, allocations: 3.221 MB / 0.692 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00947/1.792, allocations: 1.8 MB / 0.6938 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004941/1.797, allocations: 1.823 MB / 0.6956 GB, free: 12.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.923e-06/1.797, allocations: 0 / 0.6956 GB, free: 12.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5273/2.324, allocations: 66.55 MB / 0.7605 GB, free: 111.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/2.324, allocations: 148.3 kB / 0.7607 GB, free: 111.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.536/7.86, allocations: 0 / 0.7607 GB, free: 111.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat