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.674/1.674, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.849e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2551, allocations: 38.77 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4149, allocations: 87.05 MB / 350.9 MB, free: 2.539 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/0.4153, allocations: 83.95 kB / 351 MB, free: 2.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5131/0.9285, allocations: 73.93 MB / 424.9 MB, free: 48.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.9285, allocations: 4 kB / 424.9 MB, free: 48.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001853/0.9287, allocations: 68 kB / 425 MB, free: 48.66 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.01234/0.9411, allocations: 3.421 MB / 428.4 MB, free: 45.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.9411, allocations: 8.031 kB / 428.4 MB, free: 45.17 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002773/0.9439, allocations: 0.6717 MB / 429.1 MB, free: 44.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.961, allocations: 2.265 MB / 431.4 MB, free: 42.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.9754, allocations: 3.89 MB / 435.2 MB, free: 38.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.9758, allocations: 275.2 kB / 435.5 MB, free: 38.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.9778, allocations: 367.7 kB / 435.9 MB, free: 37.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03131/1.009, allocations: 10.26 MB / 446.1 MB, free: 26.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/1.009, allocations: 59.48 kB / 446.2 MB, free: 26.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001507/1.011, allocations: 179.9 kB / 446.4 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/1.013, allocations: 0.9741 MB / 447.3 MB, free: 25.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/1.041, allocations: 8.462 MB / 455.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06603/1.107, allocations: 44.01 MB / 499.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.249/1.356, allocations: 3.543 MB / 0.4916 GB, free: 83.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/1.36, allocations: 1.73 MB / 0.4932 GB, free: 83.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/1.376, allocations: 7.154 MB / 0.5002 GB, free: 82.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/1.377, allocations: 51.41 kB / 0.5003 GB, free: 82.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 4.919e-06/1.377, allocations: 0 / 0.5003 GB, free: 82.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=155): time 0.07398/1.451, allocations: 14.36 MB / 0.5143 GB, free: 79.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/1.451, allocations: 143.6 kB / 0.5144 GB, free: 79.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006355/1.457, allocations: 3.036 MB / 0.5174 GB, free: 79.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004394/1.458, allocations: 51.41 kB / 0.5175 GB, free: 79.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.46, allocations: 2.707 MB / 0.5201 GB, free: 77.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009315/1.461, allocations: 0.6083 MB / 0.5207 GB, free: 77.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/1.461, allocations: 104.2 kB / 0.5208 GB, free: 77.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003322/1.462, allocations: 0.5343 MB / 0.5213 GB, free: 76.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005168/1.467, allocations: 1.841 MB / 0.5231 GB, free: 76.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006779/1.474, allocations: 5.196 MB / 0.5282 GB, free: 70.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/1.481, allocations: 3.043 MB / 0.5312 GB, free: 70.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/1.481, allocations: 34.84 kB / 0.5312 GB, free: 70.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.02386/1.505, allocations: 7.892 MB / 0.5389 GB, free: 67.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.373e-05/1.505, allocations: 57 kB / 0.539 GB, free: 67.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/1.505, allocations: 120 kB / 0.5391 GB, free: 67.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007137/1.512, allocations: 1.309 MB / 0.5404 GB, free: 66.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007588/1.52, allocations: 1.254 MB / 0.5416 GB, free: 65.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/1.533, allocations: 6.128 MB / 0.5476 GB, free: 60.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/1.54, allocations: 343 kB / 0.5479 GB, free: 59.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.541, allocations: 338.3 kB / 0.5482 GB, free: 59.54 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.001063/1.542, allocations: 0.527 MB / 0.5487 GB, free: 59.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007352/1.543, allocations: 296.2 kB / 0.549 GB, free: 58.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.554, allocations: 3.243 MB / 0.5522 GB, free: 56.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-05/1.554, allocations: 16 kB / 0.5522 GB, free: 56.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.554, allocations: 4 kB / 0.5522 GB, free: 56.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.97e-05/1.555, allocations: 10.66 kB / 0.5522 GB, free: 56.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/1.577, allocations: 7.306 MB / 0.5593 GB, free: 50.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-05/1.577, allocations: 0 / 0.5593 GB, free: 50.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.579, allocations: 236.4 kB / 0.5596 GB, free: 50.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006762/1.586, allocations: 1.117 MB / 0.5607 GB, free: 49.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003893/1.586, allocations: 28 kB / 0.5607 GB, free: 49.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/1.599, allocations: 5.74 MB / 0.5663 GB, free: 44.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.599, allocations: 3.938 kB / 0.5663 GB, free: 44.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.614, allocations: 5.547 MB / 0.5717 GB, free: 39.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.617, allocations: 0.577 MB / 0.5723 GB, free: 39.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009504/1.618, allocations: 24 kB / 0.5723 GB, free: 39.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.621, allocations: 109.4 kB / 0.5724 GB, free: 39.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/1.621, allocations: 83.38 kB / 0.5725 GB, free: 39.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.621, allocations: 41.97 kB / 0.5725 GB, free: 39.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004995/1.626, allocations: 2.088 MB / 0.5746 GB, free: 37.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.153e-06/1.626, allocations: 0 / 0.5746 GB, free: 37.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006/1.632, allocations: 0.8909 MB / 0.5754 GB, free: 36.37 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.01563/1.648, allocations: 6.378 MB / 0.5817 GB, free: 29.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01043/1.659, allocations: 4.565 MB / 0.5861 GB, free: 25.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.659, allocations: 0 / 0.5861 GB, free: 25.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003424/1.662, allocations: 1.456 MB / 0.5875 GB, free: 23.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.665, allocations: 314.8 kB / 0.5878 GB, free: 23.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.69, allocations: 7.725 MB / 0.5954 GB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005159/1.695, allocations: 2.893 MB / 0.5982 GB, free: 13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007515/1.703, allocations: 1.694 MB / 0.5999 GB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003557/1.707, allocations: 1.553 MB / 0.6014 GB, free: 9.754 MB / 346.7 MB Notification: Performance of SimCode: time 1.773e-06/1.707, allocations: 4 kB / 0.6014 GB, free: 9.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4013/2.108, allocations: 66.47 MB / 0.6663 GB, free: 76.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/2.108, allocations: 197 kB / 0.6665 GB, free: 76.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.67/6.778, allocations: 7.938 kB / 0.6665 GB, free: 76.34 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