Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.866e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09363, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5317, allocations: 92.8 MB / 392.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5321, allocations: 85.34 kB / 392.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3304/0.8625, allocations: 74.06 MB / 466.9 MB, free: 224 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8625, allocations: 0 / 466.9 MB, free: 224 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001996/0.8628, allocations: 71.91 kB / 467 MB, free: 156 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.01501/0.8778, allocations: 3.432 MB / 470.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.8779, allocations: 8.031 kB / 470.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002951/0.8808, allocations: 0.6708 MB / 471.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04503/0.9259, allocations: 2.257 MB / 473.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02913/0.9551, allocations: 3.902 MB / 477.3 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/0.9557, allocations: 272.6 kB / 477.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.9581, allocations: 365.1 kB / 477.9 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03503/0.9932, allocations: 10.21 MB / 488.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002096/0.9935, allocations: 59.42 kB / 488.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/0.9947, allocations: 179.3 kB / 488.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002655/0.9974, allocations: 0.978 MB / 489.3 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/1.028, allocations: 8.309 MB / 497.6 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3589/1.387, allocations: 44.34 MB / 0.5293 GB, free: 67.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02306/1.41, allocations: 3.528 MB / 0.5327 GB, free: 67.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00549/1.415, allocations: 1.724 MB / 0.5344 GB, free: 67.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02317/1.439, allocations: 7.143 MB / 0.5414 GB, free: 65.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.439, allocations: 56.8 kB / 0.5414 GB, free: 65.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 6.663e-06/1.439, allocations: 0 / 0.5414 GB, free: 65.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.08041/1.519, allocations: 14.36 MB / 0.5554 GB, free: 62.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/1.519, allocations: 146.8 kB / 0.5556 GB, free: 62.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/1.526, allocations: 3.034 MB / 0.5585 GB, free: 62.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004105/1.527, allocations: 46.33 kB / 0.5586 GB, free: 62.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/1.529, allocations: 2.71 MB / 0.5612 GB, free: 61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009449/1.53, allocations: 0.6071 MB / 0.5618 GB, free: 60.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/1.531, allocations: 110.2 kB / 0.5619 GB, free: 60.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003282/1.531, allocations: 0.5329 MB / 0.5625 GB, free: 60.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004476/1.535, allocations: 1.835 MB / 0.5642 GB, free: 60.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006866/1.542, allocations: 5.171 MB / 0.5693 GB, free: 55.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006855/1.549, allocations: 3.055 MB / 0.5723 GB, free: 55.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/1.549, allocations: 35.12 kB / 0.5723 GB, free: 55.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.02466/1.574, allocations: 7.549 MB / 0.5797 GB, free: 54.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.574, allocations: 58.47 kB / 0.5797 GB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/1.574, allocations: 121.6 kB / 0.5799 GB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007423/1.582, allocations: 1.304 MB / 0.5811 GB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00786/1.59, allocations: 1.26 MB / 0.5824 GB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/1.603, allocations: 6.115 MB / 0.5883 GB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.61, allocations: 348.7 kB / 0.5887 GB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.612, allocations: 336 kB / 0.589 GB, free: 50.84 MB / 410.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.001236/1.613, allocations: 0.5188 MB / 0.5895 GB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007632/1.614, allocations: 302.2 kB / 0.5898 GB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.625, allocations: 3.244 MB / 0.5929 GB, free: 49.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/1.625, allocations: 17.69 kB / 0.593 GB, free: 49.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.625, allocations: 3.406 kB / 0.593 GB, free: 49.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-05/1.625, allocations: 11.02 kB / 0.593 GB, free: 49.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/1.648, allocations: 7.311 MB / 0.6001 GB, free: 46.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/1.648, allocations: 0 / 0.6001 GB, free: 46.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.651, allocations: 241.1 kB / 0.6003 GB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006594/1.657, allocations: 1.117 MB / 0.6014 GB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003935/1.658, allocations: 28.12 kB / 0.6015 GB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/1.67, allocations: 5.734 MB / 0.6071 GB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.671, allocations: 7.984 kB / 0.6071 GB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/1.686, allocations: 5.548 MB / 0.6125 GB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/1.688, allocations: 0.5711 MB / 0.613 GB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009267/1.689, allocations: 24 kB / 0.6131 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/1.692, allocations: 110.5 kB / 0.6132 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/1.693, allocations: 84.16 kB / 0.6133 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/1.693, allocations: 41.48 kB / 0.6133 GB, free: 35.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005115/1.698, allocations: 2.084 MB / 0.6153 GB, free: 33.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.292e-06/1.698, allocations: 7.938 kB / 0.6153 GB, free: 33.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006651/1.705, allocations: 0.8976 MB / 0.6162 GB, free: 32.31 MB / 410.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.01666/1.721, allocations: 6.38 MB / 0.6224 GB, free: 26.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01006/1.731, allocations: 4.387 MB / 0.6267 GB, free: 22.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.732, allocations: 0 / 0.6267 GB, free: 22.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003302/1.735, allocations: 1.438 MB / 0.6281 GB, free: 21.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.737, allocations: 313.5 kB / 0.6284 GB, free: 21.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.762, allocations: 7.72 MB / 0.636 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004922/1.767, allocations: 2.89 MB / 0.6388 GB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007182/1.775, allocations: 1.691 MB / 0.6404 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003351/1.778, allocations: 1.549 MB / 0.642 GB, free: 9.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/1.778, allocations: 0 / 0.642 GB, free: 9.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4464/2.224, allocations: 65.99 MB / 0.7064 GB, free: 111.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008079/2.225, allocations: 196 kB / 0.7066 GB, free: 111.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.858/7.083, allocations: 8 kB / 0.7066 GB, free: 111.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat