Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.135/2.135, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.828e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 50.42 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5707/0.712, allocations: 101.4 MB / 444.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.7124, allocations: 89.69 kB / 444.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3244/1.037, allocations: 76.57 MB / 0.509 GB, free: 224 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.037, allocations: 0 / 0.509 GB, free: 224 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002165/1.037, allocations: 68 kB / 0.5091 GB, free: 156 kB / 426.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.01384/1.051, allocations: 3.492 MB / 0.5125 GB, free: 12.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.051, allocations: 8.031 kB / 0.5125 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002791/1.054, allocations: 0.6802 MB / 0.5132 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/1.072, allocations: 2.265 MB / 0.5154 GB, free: 9.629 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/1.088, allocations: 3.79 MB / 0.5191 GB, free: 5.789 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/1.088, allocations: 279.3 kB / 0.5193 GB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/1.091, allocations: 375.8 kB / 0.5197 GB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3332/1.424, allocations: 10.33 MB / 0.5298 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002693/1.424, allocations: 56.34 kB / 0.5298 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001636/1.426, allocations: 185 kB / 0.53 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002892/1.429, allocations: 0.9944 MB / 0.531 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03143/1.46, allocations: 8.414 MB / 0.5392 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0644/1.525, allocations: 44.71 MB / 0.5829 GB, free: 72.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/1.541, allocations: 3.837 MB / 0.5866 GB, free: 70.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003743/1.544, allocations: 1.759 MB / 0.5883 GB, free: 70.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01685/1.561, allocations: 7.627 MB / 0.5958 GB, free: 65.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.562, allocations: 50.56 kB / 0.5958 GB, free: 65.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 6.022e-06/1.562, allocations: 0 / 0.5958 GB, free: 65.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=166): time 0.07389/1.635, allocations: 14.66 MB / 0.6101 GB, free: 61.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/1.636, allocations: 152.9 kB / 0.6103 GB, free: 61.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005981/1.642, allocations: 3.043 MB / 0.6133 GB, free: 60.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004135/1.642, allocations: 47.06 kB / 0.6133 GB, free: 60.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.644, allocations: 2.74 MB / 0.616 GB, free: 58.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009427/1.645, allocations: 0.6492 MB / 0.6166 GB, free: 57.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/1.646, allocations: 109.5 kB / 0.6167 GB, free: 57.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000343/1.646, allocations: 0.5356 MB / 0.6172 GB, free: 57.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004643/1.651, allocations: 1.869 MB / 0.6191 GB, free: 56.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006768/1.657, allocations: 5.22 MB / 0.6242 GB, free: 51.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006844/1.664, allocations: 3.097 MB / 0.6272 GB, free: 49.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.727e-05/1.664, allocations: 32 kB / 0.6272 GB, free: 49.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02309/1.688, allocations: 7.655 MB / 0.6347 GB, free: 43.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.362e-05/1.688, allocations: 56 kB / 0.6348 GB, free: 43.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/1.688, allocations: 120 kB / 0.6349 GB, free: 43.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007117/1.695, allocations: 1.304 MB / 0.6361 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007809/1.703, allocations: 1.271 MB / 0.6374 GB, free: 41.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.717, allocations: 6.124 MB / 0.6434 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/1.723, allocations: 341 kB / 0.6437 GB, free: 35.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.724, allocations: 344 kB / 0.644 GB, free: 35.12 MB / 442.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.001184/1.726, allocations: 0.532 MB / 0.6445 GB, free: 34.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007661/1.726, allocations: 304.1 kB / 0.6448 GB, free: 34.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.738, allocations: 3.327 MB / 0.6481 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.188e-05/1.738, allocations: 20 kB / 0.6481 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.738, allocations: 4 kB / 0.6481 GB, free: 31.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/1.738, allocations: 7.172 kB / 0.6481 GB, free: 31.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.76, allocations: 7.56 MB / 0.6555 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.761, allocations: 0 / 0.6555 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.763, allocations: 239.2 kB / 0.6557 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006565/1.769, allocations: 1.112 MB / 0.6568 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003407/1.77, allocations: 37.97 kB / 0.6568 GB, free: 24.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/1.783, allocations: 5.766 MB / 0.6625 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.783, allocations: 0 / 0.6625 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.798, allocations: 5.687 MB / 0.668 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.799, allocations: 361 kB / 0.6684 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/1.8, allocations: 30.03 kB / 0.6684 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.803, allocations: 99.86 kB / 0.6685 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005338/1.804, allocations: 95.03 kB / 0.6686 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/1.804, allocations: 40 kB / 0.6686 GB, free: 12.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004451/1.808, allocations: 2.094 MB / 0.6707 GB, free: 10.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.808, allocations: 0 / 0.6707 GB, free: 10.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006168/1.814, allocations: 0.9206 MB / 0.6716 GB, free: 9.539 MB / 442.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.01542/1.83, allocations: 6.521 MB / 0.6779 GB, free: 2.984 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01073/1.841, allocations: 4.474 MB / 0.6823 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.841, allocations: 4 kB / 0.6823 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003987/1.845, allocations: 1.489 MB / 0.6838 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.847, allocations: 320.1 kB / 0.6841 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.875, allocations: 7.752 MB / 0.6916 GB, free: 4.926 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005654/1.881, allocations: 2.929 MB / 0.6945 GB, free: 1.973 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008037/1.889, allocations: 1.71 MB / 0.6962 GB, free: 276 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3006/2.19, allocations: 1.594 MB / 0.6977 GB, free: 108 MB / 458.7 MB Notification: Performance of SimCode: time 1.833e-06/2.19, allocations: 0 / 0.6977 GB, free: 108 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1942/2.384, allocations: 67.39 MB / 0.7635 GB, free: 95.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/2.384, allocations: 212 kB / 0.7637 GB, free: 94.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.94/7.324, allocations: 0 / 0.7637 GB, free: 94.87 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat