Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.176e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.09818, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5343, allocations: 99.6 MB / 416.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.5347, allocations: 88.7 kB / 416.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3351/0.8697, allocations: 75.65 MB / 492.4 MB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.8698, allocations: 4 kB / 492.4 MB, free: 15.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002379/0.87, allocations: 71.98 kB / 492.4 MB, free: 15.67 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.01378/0.8838, allocations: 3.488 MB / 495.9 MB, free: 12.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.8839, allocations: 8.031 kB / 495.9 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002863/0.8868, allocations: 0.6841 MB / 496.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/0.9048, allocations: 2.269 MB / 498.9 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/0.9216, allocations: 3.948 MB / 0.491 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004491/0.9221, allocations: 283.3 kB / 0.4913 GB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/0.9243, allocations: 371.8 kB / 0.4917 GB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0363/0.9607, allocations: 10.34 MB / 0.5018 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/0.961, allocations: 47.56 kB / 0.5018 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/0.963, allocations: 187.9 kB / 0.502 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/0.9663, allocations: 1.001 MB / 0.503 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3325/1.299, allocations: 8.404 MB / 0.5112 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06589/1.365, allocations: 44.73 MB / 0.5549 GB, free: 73.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/1.381, allocations: 3.816 MB / 0.5586 GB, free: 72.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/1.384, allocations: 1.765 MB / 0.5603 GB, free: 72.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01767/1.402, allocations: 7.655 MB / 0.5678 GB, free: 69.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.402, allocations: 49.91 kB / 0.5678 GB, free: 68.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.741e-06/1.402, allocations: 2.906 kB / 0.5678 GB, free: 68.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=166): time 0.07323/1.475, allocations: 14.7 MB / 0.5822 GB, free: 64.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/1.476, allocations: 150.5 kB / 0.5823 GB, free: 64.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006914/1.482, allocations: 3.065 MB / 0.5853 GB, free: 63.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004157/1.483, allocations: 49.48 kB / 0.5854 GB, free: 63.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002337/1.485, allocations: 2.737 MB / 0.5881 GB, free: 61.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009998/1.486, allocations: 0.6441 MB / 0.5887 GB, free: 60.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/1.487, allocations: 104.2 kB / 0.5888 GB, free: 60.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005491/1.488, allocations: 0.5436 MB / 0.5893 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/1.492, allocations: 1.863 MB / 0.5911 GB, free: 59.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006528/1.499, allocations: 5.227 MB / 0.5962 GB, free: 54.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006455/1.505, allocations: 3.089 MB / 0.5993 GB, free: 53.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.774e-05/1.505, allocations: 36.06 kB / 0.5993 GB, free: 53.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02272/1.528, allocations: 7.655 MB / 0.6068 GB, free: 51.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/1.528, allocations: 59.64 kB / 0.6068 GB, free: 51.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/1.528, allocations: 129.5 kB / 0.6069 GB, free: 51.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006975/1.535, allocations: 1.303 MB / 0.6082 GB, free: 50.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007783/1.543, allocations: 1.267 MB / 0.6095 GB, free: 50.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.557, allocations: 6.115 MB / 0.6154 GB, free: 44.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/1.563, allocations: 339.4 kB / 0.6157 GB, free: 44.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.564, allocations: 350.1 kB / 0.6161 GB, free: 44.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (679): * Single equations (assignments): 675 * 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.001202/1.565, allocations: 0.5324 MB / 0.6166 GB, free: 43.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007772/1.566, allocations: 307.9 kB / 0.6169 GB, free: 43.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.578, allocations: 3.322 MB / 0.6201 GB, free: 40.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/1.578, allocations: 20 kB / 0.6202 GB, free: 40.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.578, allocations: 4 kB / 0.6202 GB, free: 40.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.161e-05/1.578, allocations: 13.89 kB / 0.6202 GB, free: 40.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/1.6, allocations: 7.562 MB / 0.6276 GB, free: 34.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.6, allocations: 4 kB / 0.6276 GB, free: 34.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/1.603, allocations: 243.9 kB / 0.6278 GB, free: 34.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006477/1.609, allocations: 1.11 MB / 0.6289 GB, free: 33.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003603/1.609, allocations: 28 kB / 0.6289 GB, free: 33.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.622, allocations: 5.749 MB / 0.6345 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.622, allocations: 0 / 0.6345 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/1.637, allocations: 5.695 MB / 0.6401 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.639, allocations: 0.5867 MB / 0.6407 GB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006765/1.64, allocations: 35.89 kB / 0.6407 GB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.643, allocations: 105.3 kB / 0.6408 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/1.643, allocations: 92.81 kB / 0.6409 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/1.643, allocations: 40 kB / 0.6409 GB, free: 23.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004626/1.648, allocations: 2.106 MB / 0.643 GB, free: 20.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.648, allocations: 0 / 0.643 GB, free: 20.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006381/1.654, allocations: 0.9222 MB / 0.6439 GB, free: 20.07 MB / 426.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 (129): * Single equations (assignments): 125 * 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.01609/1.671, allocations: 6.524 MB / 0.6502 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/1.681, allocations: 4.478 MB / 0.6546 GB, free: 9.051 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.681, allocations: 0 / 0.6546 GB, free: 9.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003572/1.685, allocations: 1.49 MB / 0.6561 GB, free: 7.555 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/1.688, allocations: 317.5 kB / 0.6564 GB, free: 7.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/1.713, allocations: 7.768 MB / 0.664 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006296/1.719, allocations: 2.925 MB / 0.6668 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008303/1.728, allocations: 1.707 MB / 0.6685 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004231/1.732, allocations: 1.589 MB / 0.67 GB, free: 9.207 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/1.732, allocations: 4 kB / 0.67 GB, free: 9.203 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4638/2.196, allocations: 67.47 MB / 0.7359 GB, free: 101 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/2.196, allocations: 204 kB / 0.7361 GB, free: 100.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.964/7.16, allocations: 0 / 0.7361 GB, free: 100.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat