Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.167e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5469/0.6881, allocations: 104.6 MB / 0.5029 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.6884, allocations: 75.95 kB / 0.503 GB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4292/1.118, allocations: 99.66 MB / 0.6003 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/1.118, allocations: 4 kB / 0.6003 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003401/1.118, allocations: 92 kB / 0.6004 GB, free: 10.93 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.04494/1.163, allocations: 5.914 MB / 0.6062 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.163, allocations: 8.031 kB / 0.6062 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004655/1.168, allocations: 0.8968 MB / 0.607 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0262/1.194, allocations: 2.93 MB / 0.6099 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3867/1.581, allocations: 6.82 MB / 0.6166 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006383/1.581, allocations: 367.2 kB / 0.6169 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003058/1.584, allocations: 498.8 kB / 0.6174 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04243/1.627, allocations: 12.4 MB / 0.6295 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005046/1.628, allocations: 72.91 kB / 0.6296 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/1.63, allocations: 238.8 kB / 0.6298 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003725/1.634, allocations: 1.241 MB / 0.631 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/1.669, allocations: 10.26 MB / 0.641 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09208/1.761, allocations: 57.98 MB / 0.6976 GB, free: 70.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0249/1.786, allocations: 5.322 MB / 0.7028 GB, free: 69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005539/1.791, allocations: 2.435 MB / 0.7052 GB, free: 68.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02867/1.82, allocations: 12.29 MB / 0.7172 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/1.82, allocations: 55.12 kB / 0.7173 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=219): time 6.011e-06/1.82, allocations: 0 / 0.7173 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.09287/1.913, allocations: 21.13 MB / 0.7379 GB, free: 49.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00334/1.917, allocations: 4.595 MB / 0.7424 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009608/1.926, allocations: 3.982 MB / 0.7463 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008464/1.927, allocations: 61.53 kB / 0.7463 GB, free: 41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.93, allocations: 3.516 MB / 0.7498 GB, free: 37.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.932, allocations: 1.023 MB / 0.7508 GB, free: 36.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009573/1.933, allocations: 151.7 kB / 0.7509 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000452/1.933, allocations: 0.6235 MB / 0.7515 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007369/1.941, allocations: 3.081 MB / 0.7545 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/1.951, allocations: 7.303 MB / 0.7617 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.961, allocations: 4.682 MB / 0.7662 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/1.961, allocations: 44 kB / 0.7663 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04275/2.004, allocations: 12.55 MB / 0.7785 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/2.004, allocations: 68 kB / 0.7786 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02384/2.028, allocations: 6.462 MB / 0.7849 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01948/2.048, allocations: 3.351 MB / 0.7882 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/2.059, allocations: 1.727 MB / 0.7899 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03154/2.09, allocations: 15.82 MB / 0.8053 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/2.103, allocations: 0.7759 MB / 0.8061 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002142/2.105, allocations: 455.9 kB / 0.8065 GB, free: 13.65 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (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.002643/2.108, allocations: 0.6602 MB / 0.8072 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/2.109, allocations: 418.7 kB / 0.8076 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0297/2.139, allocations: 7.065 MB / 0.8145 GB, free: 5.461 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4091/2.548, allocations: 6.384 MB / 0.8207 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-05/2.548, allocations: 9.312 kB / 0.8207 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.301e-05/2.548, allocations: 12.39 kB / 0.8207 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05862/2.607, allocations: 15.35 MB / 0.8357 GB, free: 127 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.868e-05/2.607, allocations: 5.906 kB / 0.8357 GB, free: 127 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004365/2.611, allocations: 444.3 kB / 0.8361 GB, free: 127 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0192/2.63, allocations: 3.335 MB / 0.8394 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008612/2.631, allocations: 77.55 kB / 0.8395 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02949/2.661, allocations: 16.47 MB / 0.8555 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003303/2.664, allocations: 4.417 MB / 0.8599 GB, free: 115 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03227/2.697, allocations: 11.23 MB / 0.8708 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/2.698, allocations: 494 kB / 0.8713 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/2.7, allocations: 63.2 kB / 0.8714 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006186/2.706, allocations: 341.6 kB / 0.8717 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/2.708, allocations: 208.3 kB / 0.8719 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003624/2.708, allocations: 81.47 kB / 0.872 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006789/2.715, allocations: 2.747 MB / 0.8747 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.42e-07/2.715, allocations: 1.969 kB / 0.8747 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009886/2.725, allocations: 1.533 MB / 0.8761 GB, free: 112.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (196): * Single equations (assignments): 182 * 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.03336/2.758, allocations: 13.19 MB / 0.889 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02441/2.783, allocations: 8.927 MB / 0.8978 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/2.783, allocations: 2.719 kB / 0.8978 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01513/2.798, allocations: 4.548 MB / 0.9022 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/2.803, allocations: 0.4997 MB / 0.9027 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/2.841, allocations: 13.17 MB / 0.9155 GB, free: 96.12 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007495/2.848, allocations: 3.798 MB / 0.9193 GB, free: 94.78 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01083/2.859, allocations: 2.253 MB / 0.9215 GB, free: 94.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005328/2.864, allocations: 2.283 MB / 0.9237 GB, free: 92.76 MB / 0.5417 GB Notification: Performance of SimCode: time 2.023e-06/2.864, allocations: 0 / 0.9237 GB, free: 92.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6033/3.468, allocations: 105.8 MB / 1.027 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/3.468, allocations: 177 kB / 1.027 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/10.43, allocations: 0 / 1.027 GB, free: 106.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat