Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.284e-05, allocations: 0 / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 50.42 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.5588, allocations: 98.99 MB / 442.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5592, allocations: 86.02 kB / 442.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7223/1.281, allocations: 95.01 MB / 0.5247 GB, free: 98.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.282, allocations: 0.625 kB / 0.5247 GB, free: 98.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004039/1.282, allocations: 88.73 kB / 0.5247 GB, free: 98.08 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.02639/1.308, allocations: 4.699 MB / 0.5293 GB, free: 97.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.308, allocations: 9.938 kB / 0.5293 GB, free: 97.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004127/1.313, allocations: 0.8554 MB / 0.5302 GB, free: 97.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02323/1.336, allocations: 2.694 MB / 0.5328 GB, free: 96.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02172/1.358, allocations: 5.312 MB / 0.538 GB, free: 96.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000695/1.358, allocations: 360.9 kB / 0.5383 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/1.361, allocations: 480.3 kB / 0.5388 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04026/1.401, allocations: 12.47 MB / 0.551 GB, free: 93.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003477/1.402, allocations: 62.34 kB / 0.551 GB, free: 93.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002094/1.404, allocations: 237.5 kB / 0.5513 GB, free: 93.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002878/1.407, allocations: 1.209 MB / 0.5524 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03284/1.44, allocations: 9.935 MB / 0.5621 GB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07384/1.514, allocations: 52.88 MB / 0.6138 GB, free: 55.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01878/1.532, allocations: 4.494 MB / 0.6182 GB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003693/1.536, allocations: 1.652 MB / 0.6198 GB, free: 52.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/1.555, allocations: 8.26 MB / 0.6279 GB, free: 47.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/1.555, allocations: 61.97 kB / 0.6279 GB, free: 47.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 5.37e-06/1.555, allocations: 0 / 0.6279 GB, free: 47.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.05574/1.611, allocations: 13.67 MB / 0.6413 GB, free: 36.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001243/1.612, allocations: 1.608 MB / 0.6428 GB, free: 35.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007425/1.619, allocations: 3.66 MB / 0.6464 GB, free: 31.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004832/1.62, allocations: 53.7 kB / 0.6465 GB, free: 31.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002597/1.622, allocations: 3.407 MB / 0.6498 GB, free: 28.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.624, allocations: 0.8097 MB / 0.6506 GB, free: 28.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006586/1.624, allocations: 135.9 kB / 0.6507 GB, free: 27.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003822/1.625, allocations: 0.5864 MB / 0.6513 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004975/1.63, allocations: 2.136 MB / 0.6534 GB, free: 25.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007498/1.637, allocations: 6.178 MB / 0.6594 GB, free: 17.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00753/1.645, allocations: 3.592 MB / 0.6629 GB, free: 14.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/1.645, allocations: 40 kB / 0.6629 GB, free: 14.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02421/1.669, allocations: 8.467 MB / 0.6712 GB, free: 7.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.669, allocations: 68 kB / 0.6713 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008849/1.678, allocations: 2.787 MB / 0.674 GB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005841/1.684, allocations: 1.083 MB / 0.6751 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009628/1.694, allocations: 1.592 MB / 0.6766 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/1.701, allocations: 4.386 MB / 0.6809 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008836/1.709, allocations: 499.4 kB / 0.6814 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/1.711, allocations: 419.8 kB / 0.6818 GB, free: 13.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (845): * Single equations (assignments): 836 * 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 {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 prepare postOptimizeDAE: time 0.001574/1.713, allocations: 0.6349 MB / 0.6824 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.714, allocations: 371.1 kB / 0.6827 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.725, allocations: 3.231 MB / 0.6859 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01024/1.735, allocations: 2.691 MB / 0.6885 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/1.735, allocations: 7.953 kB / 0.6885 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.065e-05/1.735, allocations: 7.969 kB / 0.6885 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3597/2.095, allocations: 10.27 MB / 0.6986 GB, free: 99.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-05/2.095, allocations: 14.17 kB / 0.6986 GB, free: 99.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003278/2.098, allocations: 366.2 kB / 0.6989 GB, free: 99.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006054/2.104, allocations: 0.9765 MB / 0.6999 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006351/2.105, allocations: 63.02 kB / 0.6999 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008054/2.113, allocations: 4.602 MB / 0.7044 GB, free: 97.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001159/2.114, allocations: 1.464 MB / 0.7059 GB, free: 96.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/2.13, allocations: 7.443 MB / 0.7131 GB, free: 93.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/2.131, allocations: 451.8 kB / 0.7136 GB, free: 93.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/2.133, allocations: 56.52 kB / 0.7136 GB, free: 93.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004057/2.137, allocations: 179.2 kB / 0.7138 GB, free: 93.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006935/2.137, allocations: 168.2 kB / 0.714 GB, free: 93.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/2.138, allocations: 83.25 kB / 0.714 GB, free: 93.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006909/2.145, allocations: 2.518 MB / 0.7165 GB, free: 92.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.172e-06/2.145, allocations: 0 / 0.7165 GB, free: 92.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008245/2.153, allocations: 1.151 MB / 0.7176 GB, free: 92.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (179): * Single equations (assignments): 172 * 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.01599/2.169, allocations: 11.36 MB / 0.7287 GB, free: 86.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01612/2.185, allocations: 5.504 MB / 0.7341 GB, free: 85.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.851e-05/2.185, allocations: 3.906 kB / 0.7341 GB, free: 85.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.195, allocations: 2.128 MB / 0.7362 GB, free: 85.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/2.199, allocations: 461.4 kB / 0.7366 GB, free: 85.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/2.234, allocations: 10.36 MB / 0.7467 GB, free: 83.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005395/2.239, allocations: 3.551 MB / 0.7502 GB, free: 82.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008805/2.248, allocations: 2.029 MB / 0.7522 GB, free: 82.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004764/2.253, allocations: 2.077 MB / 0.7542 GB, free: 80.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/2.253, allocations: 0 / 0.7542 GB, free: 80.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2448/2.497, allocations: 81.62 MB / 0.8339 GB, free: 24.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/2.498, allocations: 196.5 kB / 0.8341 GB, free: 23.99 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.68/8.178, allocations: 4.062 kB / 0.8341 GB, free: 23.99 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat