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.45/2.45, allocations: 235.1 MB / 242.2 MB, free: 15.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.56e-05, allocations: 7.938 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4039, allocations: 54.84 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.621, allocations: 96.65 MB / 451 MB, free: 1.535 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/0.6215, allocations: 67.97 kB / 451.1 MB, free: 1.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.709/1.33, allocations: 83 MB / 0.5215 GB, free: 97.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.326e-06/1.331, allocations: 0 / 0.5215 GB, free: 97.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002083/1.331, allocations: 85.03 kB / 0.5216 GB, free: 97.1 MB / 426.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.01271/1.344, allocations: 3.902 MB / 0.5254 GB, free: 95.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.344, allocations: 10.75 kB / 0.5254 GB, free: 95.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02834/1.372, allocations: 2.437 MB / 0.5278 GB, free: 94.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02679/1.399, allocations: 5.108 MB / 0.5328 GB, free: 92.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/1.399, allocations: 141.9 kB / 0.5329 GB, free: 92.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/1.401, allocations: 256.9 kB / 0.5332 GB, free: 92.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01461/1.416, allocations: 6.002 MB / 0.5391 GB, free: 86.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/1.438, allocations: 9.268 MB / 0.5481 GB, free: 76.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/1.438, allocations: 59.41 kB / 0.5482 GB, free: 75.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/1.439, allocations: 36 kB / 0.5482 GB, free: 75.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002232/1.442, allocations: 1.01 MB / 0.5492 GB, free: 74.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06423/1.506, allocations: 46.62 MB / 0.5947 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/1.509, allocations: 1.976 MB / 0.5966 GB, free: 24.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/1.511, allocations: 0.8679 MB / 0.5975 GB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/1.512, allocations: 0.5634 MB / 0.598 GB, free: 23.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.512, allocations: 51.33 kB / 0.5981 GB, free: 23.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=144): time 7.574e-06/1.512, allocations: 0 / 0.5981 GB, free: 23.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=156): time 0.02919/1.541, allocations: 8.744 MB / 0.6066 GB, free: 14.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.541, allocations: 244.1 kB / 0.6069 GB, free: 14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009738/1.551, allocations: 3.031 MB / 0.6098 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/1.552, allocations: 25.7 kB / 0.6098 GB, free: 10.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003637/1.555, allocations: 3.183 MB / 0.613 GB, free: 7.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.556, allocations: 0.6133 MB / 0.6135 GB, free: 7.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008649/1.557, allocations: 0 / 0.6135 GB, free: 7.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008418/1.558, allocations: 0.5624 MB / 0.6141 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005448/1.564, allocations: 1.472 MB / 0.6155 GB, free: 5.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007503/1.571, allocations: 5.373 MB / 0.6208 GB, free: 13.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007424/1.579, allocations: 2.817 MB / 0.6235 GB, free: 10.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001537/1.579, allocations: 44 kB / 0.6236 GB, free: 10.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02799/1.607, allocations: 5.924 MB / 0.6294 GB, free: 4.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003504/1.607, allocations: 64.94 kB / 0.6294 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005853/1.608, allocations: 147.3 kB / 0.6296 GB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/1.609, allocations: 208 kB / 0.6298 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01447/1.623, allocations: 1.47 MB / 0.6312 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005594/1.624, allocations: 275 kB / 0.6315 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/1.636, allocations: 267.5 kB / 0.6317 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/1.638, allocations: 387.9 kB / 0.6321 GB, free: 2.098 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * 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 (776): * Single equations (assignments): 773 * 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.001364/1.639, allocations: 454.7 kB / 0.6325 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004303/1.644, allocations: 1.596 MB / 0.6341 GB, free: 44 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000907/1.645, allocations: 315.9 kB / 0.6344 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/1.648, allocations: 1.16 MB / 0.6355 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.637e-05/1.648, allocations: 16 kB / 0.6355 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.648, allocations: 7.922 kB / 0.6355 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/1.648, allocations: 7.984 kB / 0.6355 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.662, allocations: 5.03 MB / 0.6405 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/1.662, allocations: 19.94 kB / 0.6405 GB, free: 9.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/1.664, allocations: 275.5 kB / 0.6407 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.473e-05/1.664, allocations: 24 kB / 0.6408 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.664, allocations: 27.94 kB / 0.6408 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.721e-05/1.664, allocations: 35.86 kB / 0.6408 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-05/1.664, allocations: 19.94 kB / 0.6408 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00677/1.671, allocations: 4.762 MB / 0.6455 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.672, allocations: 0.4969 MB / 0.646 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005834/1.673, allocations: 23.98 kB / 0.646 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.675, allocations: 67.92 kB / 0.6461 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.675, allocations: 135.5 kB / 0.6462 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.676, allocations: 67.98 kB / 0.6463 GB, free: 2.691 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004668/1.68, allocations: 2.002 MB / 0.6482 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.68, allocations: 0 / 0.6482 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007211/1.688, allocations: 0.7617 MB / 0.649 GB, free: 15.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * 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 (142): * Single equations (assignments): 139 * 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.009159/1.697, allocations: 9.344 MB / 0.6581 GB, free: 6.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008477/1.705, allocations: 3.358 MB / 0.6614 GB, free: 2.766 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.815e-05/1.705, allocations: 4 kB / 0.6614 GB, free: 2.762 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/1.707, allocations: 0.6944 MB / 0.662 GB, free: 2.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.71, allocations: 347.4 kB / 0.6624 GB, free: 1.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.426/2.136, allocations: 8.121 MB / 0.6703 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008249/2.144, allocations: 3.219 MB / 0.6734 GB, free: 130.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009105/2.153, allocations: 1.861 MB / 0.6753 GB, free: 130.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004207/2.158, allocations: 1.819 MB / 0.677 GB, free: 130.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.694e-06/2.158, allocations: 0 / 0.677 GB, free: 130.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1578/2.315, allocations: 61.89 MB / 0.7375 GB, free: 94.37 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/2.316, allocations: 125.1 kB / 0.7376 GB, free: 94.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.275/7.59, allocations: 0 / 0.7376 GB, free: 94.18 MB / 474.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