Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.405e-05, allocations: 7.094 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09547, allocations: 44.51 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5457, allocations: 86.02 MB / 386 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.546, allocations: 88.5 kB / 386 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3324/0.8784, allocations: 77.73 MB / 463.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.8785, allocations: 0 / 463.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002435/0.8787, allocations: 76 kB / 463.8 MB, free: 2.406 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.02259/0.9014, allocations: 4.048 MB / 467.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.9014, allocations: 8.031 kB / 467.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002739/0.9042, allocations: 0.7552 MB / 468.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/0.9224, allocations: 2.233 MB / 470.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01887/0.9413, allocations: 4.35 MB / 475.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005333/0.9419, allocations: 307.2 kB / 475.5 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002542/0.9445, allocations: 421.6 kB / 476 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03525/0.9798, allocations: 10.14 MB / 486.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000298/0.9801, allocations: 59.45 kB / 486.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002091/0.9822, allocations: 213.4 kB / 486.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003346/0.9856, allocations: 0.9856 MB / 487.3 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03774/1.023, allocations: 7.959 MB / 495.3 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3839/1.407, allocations: 48.24 MB / 0.5308 GB, free: 61.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/1.424, allocations: 3.542 MB / 0.5343 GB, free: 61.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/1.427, allocations: 1.309 MB / 0.5355 GB, free: 61.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/1.442, allocations: 6.523 MB / 0.5419 GB, free: 58.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/1.442, allocations: 49.58 kB / 0.542 GB, free: 58.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 5.28e-06/1.442, allocations: 0 / 0.542 GB, free: 58.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.03863/1.481, allocations: 9.579 MB / 0.5513 GB, free: 56.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001305/1.482, allocations: 1.586 MB / 0.5529 GB, free: 54.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007341/1.489, allocations: 3.331 MB / 0.5561 GB, free: 54.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004358/1.49, allocations: 45.47 kB / 0.5562 GB, free: 54.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002622/1.493, allocations: 3.029 MB / 0.5591 GB, free: 52.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009343/1.494, allocations: 0.5818 MB / 0.5597 GB, free: 52.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006942/1.494, allocations: 117.9 kB / 0.5598 GB, free: 52.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000359/1.495, allocations: 0.5671 MB / 0.5603 GB, free: 52.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/1.499, allocations: 1.893 MB / 0.5622 GB, free: 52.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007772/1.507, allocations: 5.781 MB / 0.5678 GB, free: 47.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007639/1.515, allocations: 3.272 MB / 0.571 GB, free: 47.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.515, allocations: 37.03 kB / 0.5711 GB, free: 47.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02579/1.541, allocations: 8.466 MB / 0.5793 GB, free: 46.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.541, allocations: 62.72 kB / 0.5794 GB, free: 46.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01043/1.551, allocations: 2.738 MB / 0.5821 GB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009619/1.561, allocations: 1.624 MB / 0.5837 GB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007625/1.569, allocations: 1.342 MB / 0.585 GB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/1.577, allocations: 5.542 MB / 0.5904 GB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007173/1.584, allocations: 429.7 kB / 0.5908 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.585, allocations: 392.3 kB / 0.5912 GB, free: 41.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (717): * Single equations (assignments): 707 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.00114/1.586, allocations: 0.565 MB / 0.5917 GB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/1.587, allocations: 317.2 kB / 0.592 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.597, allocations: 2.993 MB / 0.5949 GB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009139/1.607, allocations: 2.544 MB / 0.5974 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.607, allocations: 7.703 kB / 0.5974 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/1.607, allocations: 10.94 kB / 0.5974 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008693/1.615, allocations: 3.543 MB / 0.6009 GB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/1.616, allocations: 2.938 kB / 0.6009 GB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.617, allocations: 164.7 kB / 0.6011 GB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008235/1.625, allocations: 1.435 MB / 0.6025 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003518/1.626, allocations: 35.23 kB / 0.6025 GB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008987/1.635, allocations: 5.745 MB / 0.6081 GB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001044/1.636, allocations: 1.449 MB / 0.6095 GB, free: 31.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.65, allocations: 5.139 MB / 0.6145 GB, free: 26.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.651, allocations: 375.5 kB / 0.6149 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006439/1.652, allocations: 29.05 kB / 0.6149 GB, free: 26.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/1.655, allocations: 137.1 kB / 0.6151 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/1.655, allocations: 82.39 kB / 0.6151 GB, free: 26.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.655, allocations: 42.8 kB / 0.6152 GB, free: 26.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0053/1.66, allocations: 2.269 MB / 0.6174 GB, free: 24.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.661, allocations: 0 / 0.6174 GB, free: 24.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006885/1.667, allocations: 0.9788 MB / 0.6184 GB, free: 23.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.01273/1.68, allocations: 5.743 MB / 0.624 GB, free: 18.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01309/1.693, allocations: 5.195 MB / 0.629 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.693, allocations: 4.281 kB / 0.629 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006191/1.7, allocations: 1.935 MB / 0.6309 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/1.702, allocations: 344 kB / 0.6313 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/1.729, allocations: 8.924 MB / 0.64 GB, free: 3.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004737/1.734, allocations: 3.118 MB / 0.643 GB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003658/1.737, allocations: 1.758 MB / 0.6447 GB, free: 15.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/1.738, allocations: 3.938 kB / 0.6447 GB, free: 15.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.988/6.726, allocations: 154.9 MB / 0.796 GB, free: 46.87 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat