Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.706/2.706, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.276e-05, allocations: 7.984 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.6129, allocations: 104.8 MB / 487.1 MB, free: 3.609 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.6132, allocations: 71.97 kB / 487.1 MB, free: 3.539 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6902/1.303, allocations: 86.72 MB / 0.5604 GB, free: 106.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.954e-06/1.303, allocations: 0 / 0.5604 GB, free: 106.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002375/1.304, allocations: 84.53 kB / 0.5605 GB, free: 106.3 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01394/1.318, allocations: 3.981 MB / 0.5644 GB, free: 104.5 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.318, allocations: 6.656 kB / 0.5644 GB, free: 104.5 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00326/1.321, allocations: 0.78 MB / 0.5651 GB, free: 104.4 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01917/1.34, allocations: 2.449 MB / 0.5675 GB, free: 103.8 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/1.359, allocations: 5.165 MB / 0.5726 GB, free: 100.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/1.359, allocations: 334.1 kB / 0.5729 GB, free: 100.2 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/1.362, allocations: 445 kB / 0.5733 GB, free: 99.83 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03198/1.394, allocations: 10.55 MB / 0.5836 GB, free: 88.22 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002939/1.394, allocations: 71.33 kB / 0.5837 GB, free: 88.15 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/1.396, allocations: 215.5 kB / 0.5839 GB, free: 87.97 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/1.399, allocations: 1.034 MB / 0.5849 GB, free: 86.93 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/1.428, allocations: 7.999 MB / 0.5927 GB, free: 78.93 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06704/1.495, allocations: 48.07 MB / 0.6397 GB, free: 29.48 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/1.508, allocations: 3.189 MB / 0.6428 GB, free: 26.13 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/1.511, allocations: 1.029 MB / 0.6438 GB, free: 25.09 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/1.524, allocations: 6.007 MB / 0.6496 GB, free: 18.75 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/1.524, allocations: 51.34 kB / 0.6497 GB, free: 18.7 MB / 458.8 MB Notification: Performance of pre-optimization done (n=148): time 5.48e-06/1.524, allocations: 0 / 0.6497 GB, free: 18.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=160): time 0.0506/1.574, allocations: 8.754 MB / 0.6582 GB, free: 9.824 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.575, allocations: 204.9 kB / 0.6584 GB, free: 9.582 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.586, allocations: 3.57 MB / 0.6619 GB, free: 5.984 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003454/1.586, allocations: 49.7 kB / 0.662 GB, free: 5.93 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003757/1.59, allocations: 3.179 MB / 0.6651 GB, free: 2.75 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.591, allocations: 0.6442 MB / 0.6657 GB, free: 2.113 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007875/1.592, allocations: 120 kB / 0.6658 GB, free: 1.996 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006106/1.592, allocations: 0.5543 MB / 0.6664 GB, free: 1.434 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005683/1.598, allocations: 1.547 MB / 0.6679 GB, free: 15.88 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/1.608, allocations: 5.343 MB / 0.6731 GB, free: 8.613 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007914/1.616, allocations: 2.892 MB / 0.6759 GB, free: 5.719 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/1.617, allocations: 43.95 kB / 0.676 GB, free: 5.676 MB / 474.8 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01924/1.636, allocations: 6.285 MB / 0.6821 GB, free: 15.39 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/1.636, allocations: 64 kB / 0.6822 GB, free: 15.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000236/1.636, allocations: 143.9 kB / 0.6823 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/1.637, allocations: 200 kB / 0.6825 GB, free: 14.99 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009352/1.646, allocations: 1.439 MB / 0.6839 GB, free: 13.55 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003502/1.646, allocations: 263 kB / 0.6841 GB, free: 13.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007264/1.654, allocations: 379.5 kB / 0.6845 GB, free: 12.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.655, allocations: 376 kB / 0.6849 GB, free: 12.55 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (763): * Single equations (assignments): 760 * 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.001833/1.657, allocations: 0.5786 MB / 0.6854 GB, free: 11.97 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009569/1.658, allocations: 355.4 kB / 0.6858 GB, free: 11.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/1.662, allocations: 1.318 MB / 0.6871 GB, free: 10.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/1.662, allocations: 19.98 kB / 0.6871 GB, free: 10.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/1.662, allocations: 8 kB / 0.6871 GB, free: 10.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.662, allocations: 7.969 kB / 0.6871 GB, free: 10.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/1.683, allocations: 5.784 MB / 0.6927 GB, free: 4.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/1.683, allocations: 20.22 kB / 0.6928 GB, free: 4.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.685, allocations: 287.5 kB / 0.693 GB, free: 3.879 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.547e-05/1.686, allocations: 24.47 kB / 0.6931 GB, free: 3.855 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.686, allocations: 51.98 kB / 0.6931 GB, free: 3.805 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-05/1.686, allocations: 35.86 kB / 0.6931 GB, free: 3.77 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-05/1.686, allocations: 27.88 kB / 0.6932 GB, free: 3.742 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007458/1.693, allocations: 5.3 MB / 0.6983 GB, free: 13.64 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.695, allocations: 0.5354 MB / 0.6989 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008981/1.696, allocations: 51.94 kB / 0.6989 GB, free: 13.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.699, allocations: 99.91 kB / 0.699 GB, free: 12.93 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/1.699, allocations: 147.3 kB / 0.6991 GB, free: 12.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.699, allocations: 71.81 kB / 0.6992 GB, free: 12.72 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006059/1.705, allocations: 2.467 MB / 0.7016 GB, free: 10.23 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.41e-07/1.705, allocations: 0 / 0.7016 GB, free: 10.23 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0071/1.712, allocations: 0.9101 MB / 0.7025 GB, free: 9.324 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * 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 (146): * Single equations (assignments): 143 * 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.3607/2.073, allocations: 10.18 MB / 0.7125 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008845/2.082, allocations: 3.444 MB / 0.7158 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.085e-05/2.082, allocations: 2.188 kB / 0.7158 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/2.084, allocations: 0.7086 MB / 0.7165 GB, free: 137.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/2.087, allocations: 447 kB / 0.7169 GB, free: 137.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/2.114, allocations: 8.513 MB / 0.7253 GB, free: 135.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007106/2.121, allocations: 3.274 MB / 0.7284 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008221/2.13, allocations: 1.822 MB / 0.7302 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004145/2.134, allocations: 1.865 MB / 0.732 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of SimCode: time 1.923e-06/2.134, allocations: 2 kB / 0.7321 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/2.311, allocations: 67.92 MB / 0.7984 GB, free: 90.96 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/2.311, allocations: 136.4 kB / 0.7985 GB, free: 90.75 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/7.856, allocations: 0 / 0.7985 GB, free: 90.75 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat