Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.521e-05/5.541e-05, allocations: 7.984 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.5778, allocations: 90.61 MB / 412.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5782, allocations: 75.95 kB / 412.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3944/0.9726, allocations: 84.79 MB / 497.4 MB, free: 9.461 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.9726, allocations: 0 / 497.4 MB, free: 9.461 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003117/0.973, allocations: 79.98 kB / 497.4 MB, free: 9.383 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.01528/0.9883, allocations: 3.908 MB / 0.4896 GB, free: 5.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.9883, allocations: 8.031 kB / 0.4896 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003313/0.9917, allocations: 0.7622 MB / 0.4903 GB, free: 4.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02104/1.013, allocations: 2.432 MB / 0.4927 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3348/1.348, allocations: 5.112 MB / 0.4977 GB, free: 95.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008187/1.349, allocations: 327.2 kB / 0.498 GB, free: 95.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003407/1.352, allocations: 427.5 kB / 0.4984 GB, free: 95.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04709/1.399, allocations: 10.3 MB / 0.5085 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007067/1.4, allocations: 61.38 kB / 0.5085 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003274/1.403, allocations: 212 kB / 0.5088 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003079/1.406, allocations: 1.009 MB / 0.5097 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/1.434, allocations: 7.778 MB / 0.5173 GB, free: 92.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06698/1.501, allocations: 47.44 MB / 0.5637 GB, free: 58.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/1.519, allocations: 2.998 MB / 0.5666 GB, free: 57.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/1.522, allocations: 0.9699 MB / 0.5675 GB, free: 56.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/1.534, allocations: 5.212 MB / 0.5726 GB, free: 53.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.534, allocations: 50.09 kB / 0.5727 GB, free: 53.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.42e-06/1.534, allocations: 0 / 0.5727 GB, free: 53.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.03251/1.566, allocations: 8.27 MB / 0.5807 GB, free: 49.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/1.566, allocations: 195.9 kB / 0.5809 GB, free: 49.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007383/1.574, allocations: 3.547 MB / 0.5844 GB, free: 48.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/1.574, allocations: 45.02 kB / 0.5844 GB, free: 48.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002605/1.577, allocations: 3.154 MB / 0.5875 GB, free: 45.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007771/1.578, allocations: 0.5877 MB / 0.5881 GB, free: 45.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/1.578, allocations: 120.8 kB / 0.5882 GB, free: 45.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003509/1.578, allocations: 0.5515 MB / 0.5888 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/1.582, allocations: 1.52 MB / 0.5902 GB, free: 44.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006317/1.589, allocations: 5.279 MB / 0.5954 GB, free: 38.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008141/1.597, allocations: 2.854 MB / 0.5982 GB, free: 37.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/1.597, allocations: 37 kB / 0.5982 GB, free: 37.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.06107/1.658, allocations: 6.192 MB / 0.6043 GB, free: 34.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/1.658, allocations: 60 kB / 0.6043 GB, free: 34.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000257/1.659, allocations: 136 kB / 0.6044 GB, free: 34.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/1.659, allocations: 200 kB / 0.6046 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02116/1.68, allocations: 1.422 MB / 0.606 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004027/1.681, allocations: 264.8 kB / 0.6063 GB, free: 32.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/1.692, allocations: 375.2 kB / 0.6066 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.694, allocations: 376.5 kB / 0.607 GB, free: 32.14 MB / 426.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.002431/1.696, allocations: 0.5684 MB / 0.6075 GB, free: 31.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.697, allocations: 339.6 kB / 0.6079 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/1.702, allocations: 1.214 MB / 0.6091 GB, free: 30.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.049e-05/1.702, allocations: 19.94 kB / 0.6091 GB, free: 30.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.702, allocations: 11.95 kB / 0.6091 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/1.702, allocations: 3.891 kB / 0.6091 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.724, allocations: 5.495 MB / 0.6145 GB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/1.724, allocations: 20.25 kB / 0.6145 GB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.726, allocations: 256.8 kB / 0.6147 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.574e-05/1.726, allocations: 24 kB / 0.6147 GB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002198/1.727, allocations: 44.55 kB / 0.6148 GB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-05/1.727, allocations: 31.58 kB / 0.6148 GB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-05/1.727, allocations: 23.78 kB / 0.6148 GB, free: 25.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/1.735, allocations: 4.845 MB / 0.6196 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/1.738, allocations: 0.5222 MB / 0.6201 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/1.74, allocations: 48.23 kB / 0.6201 GB, free: 19.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004488/1.744, allocations: 94.06 kB / 0.6202 GB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/1.745, allocations: 139.5 kB / 0.6204 GB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.745, allocations: 60.17 kB / 0.6204 GB, free: 18.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009292/1.754, allocations: 2.447 MB / 0.6228 GB, free: 16.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.583e-06/1.754, allocations: 0 / 0.6228 GB, free: 16.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01139/1.766, allocations: 0.889 MB / 0.6237 GB, free: 15.83 MB / 426.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.01001/1.776, allocations: 9.19 MB / 0.6326 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01124/1.787, allocations: 3.362 MB / 0.6359 GB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/1.787, allocations: 4 kB / 0.6359 GB, free: 3.316 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/1.789, allocations: 0.671 MB / 0.6366 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/1.794, allocations: 417.2 kB / 0.637 GB, free: 2.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/1.822, allocations: 8.276 MB / 0.6451 GB, free: 10.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007514/1.83, allocations: 3.222 MB / 0.6482 GB, free: 8.461 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009019/1.839, allocations: 1.79 MB / 0.65 GB, free: 7.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004677/1.843, allocations: 1.823 MB / 0.6517 GB, free: 5.656 MB / 442.7 MB Notification: Performance of SimCode: time 1.884e-06/1.843, allocations: 0 / 0.6517 GB, free: 5.656 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4869/2.33, allocations: 66.55 MB / 0.7167 GB, free: 89.15 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/2.331, allocations: 144.3 kB / 0.7169 GB, free: 88.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.396/7.727, allocations: 0 / 0.7169 GB, free: 88.93 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat