Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.791e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 38.78 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4177, allocations: 87.06 MB / 350.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.418, allocations: 83.95 kB / 351 MB, free: 2.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5141/0.9321, allocations: 73.93 MB / 425 MB, free: 48.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.9322, allocations: 0 / 425 MB, free: 48.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001814/0.9324, allocations: 75.98 kB / 425 MB, free: 48.6 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.01205/0.9444, allocations: 3.425 MB / 428.5 MB, free: 45.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9445, allocations: 12.02 kB / 428.5 MB, free: 45.1 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002428/0.947, allocations: 0.6678 MB / 429.1 MB, free: 44.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.9639, allocations: 2.265 MB / 431.4 MB, free: 42.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.9783, allocations: 3.89 MB / 435.3 MB, free: 38.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/0.9786, allocations: 275.2 kB / 435.6 MB, free: 37.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.9806, allocations: 367.7 kB / 435.9 MB, free: 37.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03025/1.011, allocations: 10.21 MB / 446.1 MB, free: 26.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/1.011, allocations: 51.5 kB / 446.2 MB, free: 26.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001527/1.013, allocations: 183.9 kB / 446.4 MB, free: 26.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002303/1.015, allocations: 0.9702 MB / 447.3 MB, free: 25.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/1.042, allocations: 8.309 MB / 455.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06672/1.109, allocations: 44.02 MB / 499.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2481/1.357, allocations: 3.518 MB / 0.4914 GB, free: 83.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004069/1.361, allocations: 1.733 MB / 0.4931 GB, free: 83.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01536/1.377, allocations: 7.147 MB / 0.5 GB, free: 82.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.377, allocations: 51.28 kB / 0.5001 GB, free: 82.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 4.929e-06/1.377, allocations: 0 / 0.5001 GB, free: 82.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=155): time 0.07366/1.45, allocations: 14.35 MB / 0.5141 GB, free: 79.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/1.45, allocations: 144 kB / 0.5143 GB, free: 79.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/1.456, allocations: 3.04 MB / 0.5172 GB, free: 79.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003901/1.457, allocations: 43.48 kB / 0.5173 GB, free: 79.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/1.458, allocations: 2.713 MB / 0.5199 GB, free: 77.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008473/1.459, allocations: 0.6042 MB / 0.5205 GB, free: 77.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/1.46, allocations: 105.7 kB / 0.5206 GB, free: 76.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003171/1.46, allocations: 0.5356 MB / 0.5211 GB, free: 76.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00403/1.464, allocations: 1.835 MB / 0.5229 GB, free: 75.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/1.47, allocations: 5.168 MB / 0.528 GB, free: 70.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/1.476, allocations: 3.042 MB / 0.5309 GB, free: 70 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-05/1.477, allocations: 36 kB / 0.531 GB, free: 70 MB / 346.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.0222/1.499, allocations: 7.573 MB / 0.5384 GB, free: 67.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.499, allocations: 53.66 kB / 0.5384 GB, free: 67.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/1.499, allocations: 119.6 kB / 0.5385 GB, free: 67.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/1.506, allocations: 1.309 MB / 0.5398 GB, free: 66.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007525/1.514, allocations: 1.255 MB / 0.541 GB, free: 65.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.527, allocations: 6.12 MB / 0.547 GB, free: 60.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006517/1.534, allocations: 345 kB / 0.5473 GB, free: 60.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.535, allocations: 339.4 kB / 0.5477 GB, free: 59.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[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 (665): * Single equations (assignments): 661 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001049/1.536, allocations: 0.5227 MB / 0.5482 GB, free: 59.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/1.536, allocations: 300.1 kB / 0.5485 GB, free: 59.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.547, allocations: 3.241 MB / 0.5516 GB, free: 56.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/1.548, allocations: 16 kB / 0.5516 GB, free: 56.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/1.548, allocations: 8 kB / 0.5516 GB, free: 56.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/1.548, allocations: 8.156 kB / 0.5517 GB, free: 56.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.57, allocations: 7.31 MB / 0.5588 GB, free: 50.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/1.57, allocations: 0 / 0.5588 GB, free: 50.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/1.572, allocations: 232.1 kB / 0.559 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006746/1.579, allocations: 1.109 MB / 0.5601 GB, free: 49.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/1.58, allocations: 30.16 kB / 0.5601 GB, free: 49.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/1.592, allocations: 5.736 MB / 0.5657 GB, free: 44.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.592, allocations: 8.016 kB / 0.5657 GB, free: 44.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.608, allocations: 5.541 MB / 0.5711 GB, free: 40.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.61, allocations: 0.578 MB / 0.5717 GB, free: 39.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/1.61, allocations: 28 kB / 0.5717 GB, free: 39.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.613, allocations: 110.2 kB / 0.5718 GB, free: 39.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/1.613, allocations: 88.02 kB / 0.5719 GB, free: 39.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.613, allocations: 36 kB / 0.572 GB, free: 39.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004329/1.618, allocations: 2.09 MB / 0.574 GB, free: 37.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/1.618, allocations: 0 / 0.574 GB, free: 37.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006134/1.624, allocations: 0.9006 MB / 0.5749 GB, free: 36.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01513/1.639, allocations: 6.364 MB / 0.5811 GB, free: 30.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/1.649, allocations: 4.401 MB / 0.5854 GB, free: 25.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.649, allocations: 0 / 0.5854 GB, free: 25.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00329/1.653, allocations: 1.438 MB / 0.5868 GB, free: 24.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/1.655, allocations: 311.2 kB / 0.5871 GB, free: 24.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/1.68, allocations: 7.726 MB / 0.5946 GB, free: 16.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005237/1.686, allocations: 2.893 MB / 0.5975 GB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007633/1.693, allocations: 1.686 MB / 0.5991 GB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003557/1.697, allocations: 1.557 MB / 0.6006 GB, free: 10.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.733e-06/1.697, allocations: 0 / 0.6006 GB, free: 10.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4391/2.136, allocations: 65.99 MB / 0.6651 GB, free: 77.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/2.136, allocations: 191.7 kB / 0.6653 GB, free: 77.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.478/6.614, allocations: 4.062 kB / 0.6653 GB, free: 77.29 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat