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.023/2.023, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.115e-05, allocations: 8 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5547, allocations: 90.61 MB / 412.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.555, allocations: 71.95 kB / 412.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4066/0.9616, allocations: 84.79 MB / 497.3 MB, free: 9.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9617, allocations: 0 / 497.3 MB, free: 9.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003707/0.9621, allocations: 80 kB / 497.4 MB, free: 9.406 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.01999/0.9821, allocations: 3.908 MB / 0.4896 GB, free: 5.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.938e-05/0.9822, allocations: 12.03 kB / 0.4896 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003426/0.9856, allocations: 0.7583 MB / 0.4903 GB, free: 4.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/1.006, allocations: 2.436 MB / 0.4927 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3058/1.312, allocations: 5.107 MB / 0.4977 GB, free: 95.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/1.312, allocations: 325 kB / 0.498 GB, free: 95.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/1.315, allocations: 428.4 kB / 0.4984 GB, free: 95.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03247/1.348, allocations: 10.35 MB / 0.5085 GB, free: 92.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003203/1.348, allocations: 64.98 kB / 0.5086 GB, free: 92.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/1.35, allocations: 209 kB / 0.5088 GB, free: 92.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/1.353, allocations: 1.007 MB / 0.5097 GB, free: 92.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/1.379, allocations: 7.971 MB / 0.5175 GB, free: 92.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06476/1.444, allocations: 47.45 MB / 0.5639 GB, free: 58.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.456, allocations: 3.025 MB / 0.5668 GB, free: 57.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/1.458, allocations: 0.9682 MB / 0.5678 GB, free: 56.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/1.47, allocations: 5.203 MB / 0.5728 GB, free: 53.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.47, allocations: 50.62 kB / 0.5729 GB, free: 53.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.25e-06/1.47, allocations: 0 / 0.5729 GB, free: 53.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.03389/1.504, allocations: 8.274 MB / 0.581 GB, free: 49.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/1.504, allocations: 199.2 kB / 0.5812 GB, free: 49.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008817/1.513, allocations: 3.545 MB / 0.5846 GB, free: 48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003146/1.514, allocations: 46 kB / 0.5847 GB, free: 47.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.516, allocations: 3.142 MB / 0.5877 GB, free: 45.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008193/1.517, allocations: 0.5964 MB / 0.5883 GB, free: 45.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/1.518, allocations: 116.1 kB / 0.5884 GB, free: 45.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000382/1.518, allocations: 0.5556 MB / 0.589 GB, free: 44.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/1.522, allocations: 1.517 MB / 0.5905 GB, free: 44.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006604/1.529, allocations: 5.317 MB / 0.5956 GB, free: 38.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006402/1.535, allocations: 2.848 MB / 0.5984 GB, free: 37.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/1.536, allocations: 39.12 kB / 0.5985 GB, free: 37.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01787/1.553, allocations: 6.568 MB / 0.6049 GB, free: 33.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.554, allocations: 67.84 kB / 0.6049 GB, free: 33.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/1.554, allocations: 132 kB / 0.6051 GB, free: 33.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/1.554, allocations: 207.2 kB / 0.6053 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008746/1.563, allocations: 1.412 MB / 0.6066 GB, free: 32.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002464/1.563, allocations: 273.6 kB / 0.6069 GB, free: 32.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006893/1.57, allocations: 378.5 kB / 0.6073 GB, free: 31.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.571, allocations: 368.3 kB / 0.6076 GB, free: 31.43 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.001005/1.572, allocations: 0.5679 MB / 0.6082 GB, free: 30.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007989/1.573, allocations: 343.2 kB / 0.6085 GB, free: 30.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/1.576, allocations: 1.219 MB / 0.6097 GB, free: 29.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-05/1.576, allocations: 16.7 kB / 0.6097 GB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.576, allocations: 3.953 kB / 0.6097 GB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.855e-05/1.576, allocations: 11.36 kB / 0.6097 GB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/1.591, allocations: 5.538 MB / 0.6151 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.591, allocations: 12 kB / 0.6151 GB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/1.593, allocations: 263.3 kB / 0.6154 GB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.365e-05/1.593, allocations: 24 kB / 0.6154 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/1.593, allocations: 44 kB / 0.6155 GB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.781e-05/1.593, allocations: 31.81 kB / 0.6155 GB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/1.593, allocations: 23.88 kB / 0.6155 GB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/1.599, allocations: 4.854 MB / 0.6203 GB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.601, allocations: 0.5234 MB / 0.6208 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007648/1.601, allocations: 47.52 kB / 0.6208 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.604, allocations: 89.42 kB / 0.6209 GB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/1.605, allocations: 133.1 kB / 0.621 GB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.605, allocations: 56 kB / 0.6211 GB, free: 18.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006268/1.611, allocations: 2.448 MB / 0.6235 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.611, allocations: 0 / 0.6235 GB, free: 15.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006653/1.618, allocations: 0.8886 MB / 0.6243 GB, free: 15.08 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.006604/1.624, allocations: 9.193 MB / 0.6333 GB, free: 5.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007734/1.632, allocations: 3.553 MB / 0.6368 GB, free: 2.371 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/1.632, allocations: 4 kB / 0.6368 GB, free: 2.367 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/1.634, allocations: 0.6964 MB / 0.6375 GB, free: 1.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.637, allocations: 420.4 kB / 0.6379 GB, free: 1.363 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.666, allocations: 8.288 MB / 0.646 GB, free: 9.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007731/1.674, allocations: 3.22 MB / 0.6491 GB, free: 7.465 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00915/1.683, allocations: 1.799 MB / 0.6509 GB, free: 6.344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004727/1.688, allocations: 1.819 MB / 0.6526 GB, free: 4.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/1.688, allocations: 3.938 kB / 0.6526 GB, free: 4.656 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4749/2.163, allocations: 67.07 MB / 0.7181 GB, free: 88.62 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/2.163, allocations: 145.6 kB / 0.7183 GB, free: 88.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.501/7.664, allocations: 0 / 0.7183 GB, free: 88.39 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