Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.802/1.802, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.786e-05, allocations: 8 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2959, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4239, allocations: 66.5 MB / 330.3 MB, free: 7.273 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.4243, allocations: 63.95 kB / 330.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.4468, allocations: 4.075 MB / 334.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4469, allocations: 0 / 334.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.4469, allocations: 8 kB / 334.5 MB, free: 3.109 MB / 282.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.001146/0.4481, allocations: 482.5 kB / 334.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.4481, allocations: 8.031 kB / 334.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.4483, allocations: 62.48 kB / 335 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.4484, allocations: 31.72 kB / 335 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.4488, allocations: 239.2 kB / 335.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.4489, allocations: 20.5 kB / 335.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.449, allocations: 24 kB / 335.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.4498, allocations: 227.5 kB / 335.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.4499, allocations: 8 kB / 335.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.4499, allocations: 4 kB / 335.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.45, allocations: 8 kB / 335.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.4506, allocations: 155.9 kB / 335.7 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.4527, allocations: 0.8127 MB / 336.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.4537, allocations: 275.8 kB / 336.8 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.4542, allocations: 142.5 kB / 336.9 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.4543, allocations: 4 kB / 336.9 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.4543, allocations: 42.5 kB / 337 MB, free: 388 kB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 4.448e-06/0.4543, allocations: 0 / 337 MB, free: 388 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.004965/0.4593, allocations: 1.866 MB / 338.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.4594, allocations: 106.8 kB / 338.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.4598, allocations: 165.9 kB / 339.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.4599, allocations: 29.8 kB / 339.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.46, allocations: 203.1 kB / 339.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.4603, allocations: 161.6 kB / 339.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.4603, allocations: 12 kB / 339.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4605, allocations: 338.7 kB / 339.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.4609, allocations: 80.88 kB / 339.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.4614, allocations: 150.4 kB / 340.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.4618, allocations: 119.4 kB / 340.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4619, allocations: 0 / 340.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001113/0.463, allocations: 322.8 kB / 340.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.463, allocations: 4 kB / 340.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4631, allocations: 4 kB / 340.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.4631, allocations: 4 kB / 340.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/0.464, allocations: 87.84 kB / 340.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.4641, allocations: 12.08 kB / 340.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.4644, allocations: 12 kB / 340.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.4644, allocations: 19.94 kB / 340.6 MB, free: 12.38 MB / 298.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.0001768/0.4646, allocations: 124.9 kB / 340.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4648, allocations: 27.62 kB / 340.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.465, allocations: 41.64 kB / 340.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.465, allocations: 7.938 kB / 340.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4651, allocations: 0 / 340.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4651, allocations: 0 / 340.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.4681, allocations: 1.052 MB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4682, allocations: 0 / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009662/0.4691, allocations: 92.11 kB / 342 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/0.4692, allocations: 8 kB / 342 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.4692, allocations: 16 kB / 342 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.4693, allocations: 4 kB / 342 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.4693, allocations: 7.938 kB / 342 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.4707, allocations: 0.8297 MB / 342.8 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4709, allocations: 108.8 kB / 342.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.4709, allocations: 15.98 kB / 343 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.4713, allocations: 12 kB / 343 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.4714, allocations: 31.91 kB / 343 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.4714, allocations: 12.09 kB / 343 MB, free: 9.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.4716, allocations: 144.2 kB / 343.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4716, allocations: 0 / 343.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006134/0.4722, allocations: 79.95 kB / 343.2 MB, free: 9.551 MB / 298.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.002001/0.4742, allocations: 2.147 MB / 345.4 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007286/0.475, allocations: 261.1 kB / 345.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.475, allocations: 4 kB / 345.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.4754, allocations: 131.8 kB / 345.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/0.4761, allocations: 60.02 kB / 345.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.4786, allocations: 0.8948 MB / 346.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4791, allocations: 0.7763 MB / 347.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.4793, allocations: 95.41 kB / 347.6 MB, free: 5 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4794, allocations: 0 / 347.6 MB, free: 5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.603/3.082, allocations: 4.535 MB / 352.1 MB, free: 476 kB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat