Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.938e-05, allocations: 3.984 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3896, allocations: 54.85 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.5629, allocations: 94.81 MB / 449.2 MB, free: 3.387 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5633, allocations: 75.95 kB / 449.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7088/1.272, allocations: 94.15 MB / 0.5306 GB, free: 94.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.272, allocations: 0 / 0.5306 GB, free: 94.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002727/1.272, allocations: 91.94 kB / 0.5307 GB, free: 94.44 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.05367/1.326, allocations: 5.821 MB / 0.5364 GB, free: 90.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/1.326, allocations: 8.031 kB / 0.5364 GB, free: 90.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03488/1.361, allocations: 2.919 MB / 0.5393 GB, free: 87.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0361/1.397, allocations: 7.188 MB / 0.5463 GB, free: 79.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005402/1.398, allocations: 152 kB / 0.5464 GB, free: 79.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/1.401, allocations: 287.8 kB / 0.5467 GB, free: 79.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02384/1.425, allocations: 7.08 MB / 0.5536 GB, free: 72.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/1.452, allocations: 10.65 MB / 0.564 GB, free: 60.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003524/1.453, allocations: 79.33 kB / 0.5641 GB, free: 60.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002534/1.455, allocations: 36 kB / 0.5641 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003017/1.458, allocations: 1.193 MB / 0.5653 GB, free: 59.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0925/1.551, allocations: 56.15 MB / 0.6201 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.561, allocations: 3.466 MB / 0.6235 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007221/1.569, allocations: 2.218 MB / 0.6257 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001953/1.571, allocations: 0.6778 MB / 0.6263 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.282e-05/1.571, allocations: 55.88 kB / 0.6264 GB, free: 10.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=205): time 8.356e-06/1.571, allocations: 7.875 kB / 0.6264 GB, free: 10.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=238): time 0.09112/1.662, allocations: 20 MB / 0.6459 GB, free: 6.648 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.662, allocations: 252.6 kB / 0.6462 GB, free: 6.348 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009401/1.671, allocations: 3.461 MB / 0.6496 GB, free: 2.867 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008223/1.672, allocations: 25.7 kB / 0.6496 GB, free: 2.836 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004618/1.677, allocations: 3.519 MB / 0.653 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002396/1.679, allocations: 0.9253 MB / 0.6539 GB, free: 14.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001579/1.681, allocations: 4 kB / 0.6539 GB, free: 14.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001003/1.682, allocations: 0.6281 MB / 0.6545 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00862/1.691, allocations: 2.935 MB / 0.6574 GB, free: 10.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/1.704, allocations: 7.271 MB / 0.6645 GB, free: 1.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4123/2.117, allocations: 4.541 MB / 0.6689 GB, free: 122.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/2.117, allocations: 45.09 kB / 0.669 GB, free: 122.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04218/2.159, allocations: 11.96 MB / 0.6807 GB, free: 121.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/2.159, allocations: 73 kB / 0.6807 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0233/2.182, allocations: 6.188 MB / 0.6868 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01888/2.201, allocations: 3.283 MB / 0.69 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/2.212, allocations: 1.743 MB / 0.6917 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02576/2.238, allocations: 15.1 MB / 0.7064 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/2.249, allocations: 0.6299 MB / 0.7071 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/2.252, allocations: 465.1 kB / 0.7075 GB, free: 112.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[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 (906): * Single equations (assignments): 886 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002969/2.255, allocations: 0.493 MB / 0.708 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02586/2.281, allocations: 6.863 MB / 0.7147 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/2.282, allocations: 379.1 kB / 0.715 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/2.308, allocations: 6.702 MB / 0.7216 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02197/2.33, allocations: 6.078 MB / 0.7275 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-05/2.33, allocations: 9.406 kB / 0.7275 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-05/2.33, allocations: 10.73 kB / 0.7275 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04514/2.375, allocations: 14.36 MB / 0.7416 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/2.375, allocations: 7.859 kB / 0.7416 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004569/2.38, allocations: 411.4 kB / 0.742 GB, free: 91.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01837/2.398, allocations: 3.28 MB / 0.7452 GB, free: 87.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009236/2.399, allocations: 43.94 kB / 0.7452 GB, free: 87.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/2.427, allocations: 16.02 MB / 0.7609 GB, free: 71.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003093/2.43, allocations: 4.231 MB / 0.765 GB, free: 66.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03096/2.461, allocations: 10.41 MB / 0.7751 GB, free: 55.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/2.463, allocations: 449.9 kB / 0.7756 GB, free: 55.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/2.465, allocations: 23.97 kB / 0.7756 GB, free: 55.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005752/2.47, allocations: 299.5 kB / 0.7759 GB, free: 55.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/2.472, allocations: 189.6 kB / 0.7761 GB, free: 55.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003353/2.472, allocations: 75.16 kB / 0.7761 GB, free: 54.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005112/2.477, allocations: 2.291 MB / 0.7784 GB, free: 52.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.477, allocations: 0 / 0.7784 GB, free: 52.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0105/2.488, allocations: 1.374 MB / 0.7797 GB, free: 51.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 36 ($STATESET4329210250.x[3],$STATESET4329210250.x[2],$STATESET4329210250.x[1],$STATESET4329210249.x[3],$STATESET4329210249.x[2],$STATESET4329210249.x[1],$STATESET4329210248.x[3],$STATESET4329210248.x[2],$STATESET4329210248.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03158/2.519, allocations: 11.62 MB / 0.7911 GB, free: 39.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02346/2.543, allocations: 8.707 MB / 0.7996 GB, free: 30.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.543, allocations: 0 / 0.7996 GB, free: 30.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01437/2.557, allocations: 4.452 MB / 0.8039 GB, free: 26.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/2.562, allocations: 396.9 kB / 0.8043 GB, free: 25.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03901/2.601, allocations: 12.56 MB / 0.8166 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008344/2.609, allocations: 3.719 MB / 0.8202 GB, free: 9.484 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01084/2.62, allocations: 2.271 MB / 0.8224 GB, free: 7.215 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005802/2.626, allocations: 2.202 MB / 0.8246 GB, free: 5.016 MB / 474.7 MB Notification: Performance of SimCode: time 1.694e-06/2.626, allocations: 0 / 0.8246 GB, free: 5.016 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5979/3.224, allocations: 97.73 MB / 0.92 GB, free: 92.92 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/3.224, allocations: 126.4 kB / 0.9201 GB, free: 92.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/10.06, allocations: 0 / 0.9201 GB, free: 92.73 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat