Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.541e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2473, allocations: 38.77 MB / 258.4 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.3964, allocations: 83.97 MB / 342.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.3968, allocations: 83.94 kB / 342.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5535/0.9503, allocations: 89.6 MB / 432 MB, free: 43.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.9503, allocations: 0 / 432 MB, free: 43.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002204/0.9506, allocations: 88 kB / 432.1 MB, free: 43.4 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.02245/0.973, allocations: 4.613 MB / 436.7 MB, free: 38.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.9731, allocations: 8.031 kB / 436.7 MB, free: 38.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/0.9937, allocations: 2.674 MB / 439.4 MB, free: 36.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/1.013, allocations: 5.536 MB / 444.9 MB, free: 30.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/1.013, allocations: 148 kB / 445.1 MB, free: 30.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/1.015, allocations: 275.9 kB / 445.3 MB, free: 30.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01575/1.031, allocations: 6.722 MB / 452.1 MB, free: 23.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/1.055, allocations: 10.19 MB / 462.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/1.055, allocations: 75.33 kB / 462.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/1.057, allocations: 32 kB / 462.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002914/1.06, allocations: 1.175 MB / 463.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3346/1.395, allocations: 51.91 MB / 0.5034 GB, free: 47.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004993/1.4, allocations: 2.658 MB / 0.506 GB, free: 47.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/1.403, allocations: 1.449 MB / 0.5074 GB, free: 47.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007657/1.404, allocations: 0.558 MB / 0.5079 GB, free: 46.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.404, allocations: 62.62 kB / 0.508 GB, free: 46.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=168): time 4.909e-06/1.404, allocations: 0 / 0.508 GB, free: 46.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=185): time 0.07148/1.475, allocations: 12.18 MB / 0.5199 GB, free: 43.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/1.475, allocations: 147.2 kB / 0.52 GB, free: 43.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02506/1.5, allocations: 3.194 MB / 0.5231 GB, free: 43.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005089/1.501, allocations: 25.7 kB / 0.5232 GB, free: 43.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00943/1.51, allocations: 3.426 MB / 0.5265 GB, free: 41.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.512, allocations: 0.7231 MB / 0.5272 GB, free: 40.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006499/1.512, allocations: 0 / 0.5272 GB, free: 40.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005574/1.513, allocations: 0.5912 MB / 0.5278 GB, free: 40.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005579/1.519, allocations: 2.007 MB / 0.5297 GB, free: 40.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00644/1.525, allocations: 6.177 MB / 0.5358 GB, free: 35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007095/1.532, allocations: 3.465 MB / 0.5392 GB, free: 34.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/1.532, allocations: 42.5 kB / 0.5392 GB, free: 34.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02104/1.553, allocations: 7.887 MB / 0.5469 GB, free: 32.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.553, allocations: 69.03 kB / 0.547 GB, free: 32.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007076/1.561, allocations: 2.499 MB / 0.5494 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004422/1.565, allocations: 0.9942 MB / 0.5504 GB, free: 31.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009584/1.575, allocations: 1.637 MB / 0.552 GB, free: 31.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/1.579, allocations: 3.895 MB / 0.5558 GB, free: 27.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008329/1.588, allocations: 390 kB / 0.5562 GB, free: 27.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.589, allocations: 420.8 kB / 0.5566 GB, free: 26.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (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],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (852): * Single equations (assignments): 843 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001151/1.59, allocations: 485.3 kB / 0.557 GB, free: 26.18 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00917/1.599, allocations: 3.284 MB / 0.5602 GB, free: 23.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.6, allocations: 339.6 kB / 0.5606 GB, free: 23.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009082/1.609, allocations: 2.919 MB / 0.5634 GB, free: 20.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007506/1.616, allocations: 2.453 MB / 0.5658 GB, free: 18.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.617, allocations: 4 kB / 0.5658 GB, free: 18.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/1.617, allocations: 10.84 kB / 0.5658 GB, free: 18.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/1.64, allocations: 9.088 MB / 0.5747 GB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.64, allocations: 8 kB / 0.5747 GB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/1.643, allocations: 337.4 kB / 0.575 GB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004886/1.648, allocations: 0.9625 MB / 0.576 GB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/1.648, allocations: 30.84 kB / 0.576 GB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006491/1.654, allocations: 4.474 MB / 0.5804 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009415/1.655, allocations: 1.407 MB / 0.5817 GB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01988/1.675, allocations: 7.077 MB / 0.5886 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.678, allocations: 0.6107 MB / 0.5892 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007926/1.678, allocations: 27.61 kB / 0.5893 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/1.682, allocations: 147 kB / 0.5894 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006212/1.682, allocations: 146.7 kB / 0.5895 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.683, allocations: 73.58 kB / 0.5896 GB, free: 15.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005119/1.688, allocations: 2.099 MB / 0.5917 GB, free: 13.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.688, allocations: 3.938 kB / 0.5917 GB, free: 13.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008323/1.696, allocations: 0.9698 MB / 0.5926 GB, free: 12.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 14 ($STATESET140101250769288.x[3],$STATESET140101250769288.x[2],$STATESET140101250769288.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/1.712, allocations: 9.832 MB / 0.6022 GB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01435/1.727, allocations: 5.2 MB / 0.6073 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.727, allocations: 4.188 kB / 0.6073 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006614/1.734, allocations: 2.053 MB / 0.6093 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.737, allocations: 346.6 kB / 0.6096 GB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/1.77, allocations: 9.838 MB / 0.6192 GB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007699/1.778, allocations: 3.485 MB / 0.6226 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01/1.788, allocations: 2.067 MB / 0.6247 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004996/1.793, allocations: 2.007 MB / 0.6266 GB, free: 9.531 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/1.793, allocations: 0 / 0.6266 GB, free: 9.531 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4531/2.246, allocations: 74.01 MB / 0.6989 GB, free: 89.04 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/2.247, allocations: 166.4 kB / 0.6991 GB, free: 88.85 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.928/7.174, allocations: 4 kB / 0.6991 GB, free: 88.84 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat