Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.452e-05/4.455e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5577, allocations: 88.78 MB / 410.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5581, allocations: 71.97 kB / 410.7 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7416/1.3, allocations: 96.02 MB / 0.4949 GB, free: 92.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.3, allocations: 1.469 kB / 0.4949 GB, free: 92.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004382/1.3, allocations: 89.08 kB / 0.495 GB, free: 92.66 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.04824/1.348, allocations: 5.816 MB / 0.5006 GB, free: 91.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/1.349, allocations: 9.656 kB / 0.5006 GB, free: 91.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006561/1.355, allocations: 0.8703 MB / 0.5015 GB, free: 91.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0372/1.392, allocations: 2.887 MB / 0.5043 GB, free: 91.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03687/1.429, allocations: 7.156 MB / 0.5113 GB, free: 90.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007562/1.43, allocations: 355.8 kB / 0.5116 GB, free: 90.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0032/1.433, allocations: 488.3 kB / 0.5121 GB, free: 90.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04053/1.474, allocations: 12.03 MB / 0.5239 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004443/1.474, allocations: 73.84 kB / 0.5239 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/1.477, allocations: 232.1 kB / 0.5242 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003187/1.48, allocations: 1.194 MB / 0.5253 GB, free: 87.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03286/1.513, allocations: 9.944 MB / 0.535 GB, free: 87.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/1.616, allocations: 57.05 MB / 0.5907 GB, free: 46.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03828/1.654, allocations: 5.003 MB / 0.5956 GB, free: 44.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008619/1.663, allocations: 2.356 MB / 0.5979 GB, free: 43.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03984/1.703, allocations: 11.12 MB / 0.6088 GB, free: 34.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.703, allocations: 67.47 kB / 0.6088 GB, free: 34.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 6.472e-06/1.703, allocations: 0 / 0.6088 GB, free: 34.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.09762/1.8, allocations: 20.58 MB / 0.6289 GB, free: 17.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003852/1.804, allocations: 4.604 MB / 0.6334 GB, free: 12.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.815, allocations: 3.969 MB / 0.6373 GB, free: 9.219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008145/1.816, allocations: 65.8 kB / 0.6374 GB, free: 9.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00324/1.819, allocations: 3.485 MB / 0.6408 GB, free: 5.746 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001806/1.821, allocations: 0.9516 MB / 0.6417 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/1.822, allocations: 147.8 kB / 0.6418 GB, free: 4.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007944/1.823, allocations: 0.6122 MB / 0.6424 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007999/1.831, allocations: 3.036 MB / 0.6454 GB, free: 1.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/1.845, allocations: 7.222 MB / 0.6525 GB, free: 7.691 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.858, allocations: 4.623 MB / 0.657 GB, free: 3.066 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/1.858, allocations: 40 kB / 0.657 GB, free: 3.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.364/2.222, allocations: 12.13 MB / 0.6689 GB, free: 94.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/2.222, allocations: 69.58 kB / 0.6689 GB, free: 94.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02538/2.248, allocations: 6.135 MB / 0.6749 GB, free: 94.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01805/2.266, allocations: 3.107 MB / 0.678 GB, free: 94.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/2.277, allocations: 1.741 MB / 0.6797 GB, free: 94.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/2.301, allocations: 14.77 MB / 0.6941 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/2.313, allocations: 0.7629 MB / 0.6948 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/2.316, allocations: 451.7 kB / 0.6952 GB, free: 86.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (891): * Single equations (assignments): 871 * 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 {1,1,1} * 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.003875/2.319, allocations: 0.6525 MB / 0.6959 GB, free: 86.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/2.321, allocations: 406.8 kB / 0.6963 GB, free: 86.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02756/2.349, allocations: 6.96 MB / 0.7031 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02495/2.374, allocations: 6.306 MB / 0.7092 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-05/2.374, allocations: 7.406 kB / 0.7092 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-05/2.374, allocations: 18.08 kB / 0.7093 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0505/2.424, allocations: 14.9 MB / 0.7238 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-05/2.424, allocations: 5.781 kB / 0.7238 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004026/2.428, allocations: 419.1 kB / 0.7242 GB, free: 81.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02252/2.451, allocations: 3.34 MB / 0.7275 GB, free: 80.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/2.452, allocations: 78.27 kB / 0.7275 GB, free: 80.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04206/2.494, allocations: 16.54 MB / 0.7437 GB, free: 70.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004285/2.499, allocations: 4.419 MB / 0.748 GB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03676/2.535, allocations: 10.82 MB / 0.7586 GB, free: 58.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/2.537, allocations: 487.3 kB / 0.759 GB, free: 58.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.539, allocations: 63.92 kB / 0.7591 GB, free: 58.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006249/2.545, allocations: 337.5 kB / 0.7594 GB, free: 58.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/2.547, allocations: 191.2 kB / 0.7596 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003841/2.547, allocations: 72.97 kB / 0.7597 GB, free: 57.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006795/2.554, allocations: 2.755 MB / 0.7624 GB, free: 55.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.284e-06/2.554, allocations: 0 / 0.7624 GB, free: 55.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009789/2.564, allocations: 1.488 MB / 0.7638 GB, free: 53.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (178): * Single equations (assignments): 164 * 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.03266/2.596, allocations: 12.39 MB / 0.7759 GB, free: 41.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02379/2.62, allocations: 8.408 MB / 0.7841 GB, free: 32.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/2.62, allocations: 8 kB / 0.7841 GB, free: 32.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01503/2.635, allocations: 4.48 MB / 0.7885 GB, free: 28.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/2.64, allocations: 497.7 kB / 0.789 GB, free: 27.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03876/2.679, allocations: 12.91 MB / 0.8016 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00799/2.687, allocations: 3.726 MB / 0.8052 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01041/2.697, allocations: 2.208 MB / 0.8074 GB, free: 9.086 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005397/2.703, allocations: 2.225 MB / 0.8096 GB, free: 6.859 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/2.703, allocations: 0 / 0.8096 GB, free: 6.859 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5559/3.259, allocations: 102.6 MB / 0.9097 GB, free: 71.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/3.259, allocations: 171.5 kB / 0.9099 GB, free: 71.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.546/9.804, allocations: 0 / 0.9099 GB, free: 71.67 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat