Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.112/2.112, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.88e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3264, allocations: 44.48 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4525, allocations: 71.16 MB / 365.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4528, allocations: 59.97 kB / 365.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.4696, allocations: 4.016 MB / 369.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4697, allocations: 4 kB / 369.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.4697, allocations: 8 kB / 369.4 MB, free: 6.645 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008454/0.4705, allocations: 486.5 kB / 369.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4706, allocations: 8.031 kB / 369.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.4707, allocations: 40.02 kB / 370 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.471, allocations: 235.3 kB / 370.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.4711, allocations: 8 kB / 370.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.4711, allocations: 12 kB / 370.2 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000416/0.4716, allocations: 145 kB / 370.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.472, allocations: 198.2 kB / 370.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.4721, allocations: 7.906 kB / 370.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.4721, allocations: 3.953 kB / 370.5 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4721, allocations: 8 kB / 370.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.4736, allocations: 0.751 MB / 371.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.4743, allocations: 260.3 kB / 371.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.4746, allocations: 118.6 kB / 371.7 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.4747, allocations: 4 kB / 371.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4747, allocations: 42.52 kB / 371.7 MB, free: 4.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/0.4747, allocations: 0 / 371.7 MB, free: 4.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.003174/0.4779, allocations: 1.727 MB / 373.4 MB, free: 2.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.478, allocations: 114.8 kB / 373.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.4782, allocations: 139.1 kB / 373.7 MB, free: 1.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.4783, allocations: 34.34 kB / 373.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4784, allocations: 199.4 kB / 373.9 MB, free: 1.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.4786, allocations: 153.7 kB / 374.1 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.4786, allocations: 0 / 374.1 MB, free: 1.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4787, allocations: 334.8 kB / 374.4 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.479, allocations: 76.81 kB / 374.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.4793, allocations: 146.9 kB / 374.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.4796, allocations: 110.7 kB / 374.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4796, allocations: 0 / 374.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006981/0.4803, allocations: 289.1 kB / 375 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4803, allocations: 4 kB / 375 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4803, allocations: 7.984 kB / 375 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4804, allocations: 4 kB / 375 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.481, allocations: 95.84 kB / 375.1 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.481, allocations: 0 / 375.1 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.4812, allocations: 4 kB / 375.1 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.4813, allocations: 16 kB / 375.1 MB, free: 420 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.4814, allocations: 120.7 kB / 375.3 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006663/0.4821, allocations: 246.4 kB / 375.5 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4823, allocations: 31.75 kB / 375.5 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.4824, allocations: 30.05 kB / 375.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4824, allocations: 4 kB / 375.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4824, allocations: 0 / 375.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4825, allocations: 7.984 kB / 375.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4844, allocations: 0.9688 MB / 376.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4844, allocations: 0 / 376.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.4852, allocations: 91.84 kB / 376.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.4852, allocations: 7.984 kB / 376.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.4852, allocations: 4 kB / 376.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.4852, allocations: 8 kB / 376.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4853, allocations: 288 / 376.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.4864, allocations: 0.7986 MB / 377.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.4865, allocations: 104.8 kB / 377.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.4866, allocations: 4 kB / 377.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.4869, allocations: 128 / 377.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.487, allocations: 43.97 kB / 377.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.487, allocations: 19.94 kB / 377.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.4872, allocations: 111.3 kB / 377.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4872, allocations: 3.938 kB / 377.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006665/0.4878, allocations: 56 kB / 377.8 MB, free: 13.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001673/0.4895, allocations: 2.104 MB / 379.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.4902, allocations: 224.6 kB / 380.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4902, allocations: 0 / 380.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.4905, allocations: 128.4 kB / 380.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007655/0.4913, allocations: 49.62 kB / 380.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.4936, allocations: 0.8586 MB / 381.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.4941, allocations: 0.7761 MB / 381.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.4943, allocations: 95.41 kB / 382 MB, free: 9.113 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4944, allocations: 0 / 382 MB, free: 9.113 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.435/2.929, allocations: 4.436 MB / 386.4 MB, free: 4.684 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat