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.764/1.764, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.505e-05, allocations: 4 kB / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.3788, allocations: 66.51 MB / 330.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.3791, allocations: 59.97 kB / 330.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.3967, allocations: 4.075 MB / 334.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3968, allocations: 4 kB / 334.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.3968, allocations: 4 kB / 334.5 MB, free: 3.094 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.0008681/0.3977, allocations: 482.3 kB / 335 MB, free: 2.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3978, allocations: 8.031 kB / 335 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.3979, allocations: 66.55 kB / 335 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.398, allocations: 27.72 kB / 335.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.3983, allocations: 239.2 kB / 335.3 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.3983, allocations: 16.56 kB / 335.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.3984, allocations: 24 kB / 335.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.399, allocations: 230.4 kB / 335.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.399, allocations: 0 / 335.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.3991, allocations: 12 kB / 335.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3991, allocations: 15.92 kB / 335.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.3995, allocations: 151.9 kB / 335.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.4011, allocations: 0.8088 MB / 336.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.4018, allocations: 275.6 kB / 336.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.4022, allocations: 126.6 kB / 336.9 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.4023, allocations: 4.188 kB / 336.9 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.4023, allocations: 46.45 kB / 337 MB, free: 384 kB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 6.011e-06/0.4023, allocations: 4 kB / 337 MB, free: 380 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.003814/0.4061, allocations: 1.85 MB / 338.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.4063, allocations: 106.8 kB / 339 MB, free: 14.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.4065, allocations: 165.9 kB / 339.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.4066, allocations: 29.7 kB / 339.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4067, allocations: 199.2 kB / 339.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4069, allocations: 169.6 kB / 339.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.4069, allocations: 8 kB / 339.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4071, allocations: 330.8 kB / 339.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.4073, allocations: 84.81 kB / 339.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.4077, allocations: 145.5 kB / 340.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.408, allocations: 124 kB / 340.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.408, allocations: 4 kB / 340.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007868/0.4088, allocations: 310.8 kB / 340.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.4089, allocations: 4 kB / 340.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4089, allocations: 4 kB / 340.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.4089, allocations: 4 kB / 340.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.4096, allocations: 95.98 kB / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.4096, allocations: 7.938 kB / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.4099, allocations: 12 kB / 340.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.4099, allocations: 16 kB / 340.6 MB, free: 12.4 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.0001397/0.4101, allocations: 132.8 kB / 340.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.4102, allocations: 31.62 kB / 340.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.4103, allocations: 37.64 kB / 340.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4103, allocations: 4 kB / 340.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4104, allocations: 0 / 340.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4104, allocations: 8 kB / 340.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.4125, allocations: 1.032 MB / 341.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.4126, allocations: 7.984 kB / 341.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.4133, allocations: 92.19 kB / 342 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.4134, allocations: 4 kB / 342 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.4134, allocations: 12 kB / 342 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/0.4134, allocations: 11.98 kB / 342 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.4134, allocations: 7.938 kB / 342 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.4147, allocations: 0.8373 MB / 342.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4149, allocations: 116.8 kB / 343 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.4149, allocations: 8 kB / 343 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.4153, allocations: 12 kB / 343 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.4154, allocations: 27.97 kB / 343 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.4154, allocations: 8 kB / 343 MB, free: 9.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.4156, allocations: 148.2 kB / 343.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4156, allocations: 0 / 343.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006512/0.4163, allocations: 76 kB / 343.2 MB, free: 9.57 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.001832/0.4181, allocations: 2.147 MB / 345.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007013/0.4188, allocations: 253 kB / 345.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4189, allocations: 0 / 345.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.4192, allocations: 131.8 kB / 345.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.42, allocations: 60.3 kB / 345.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.4223, allocations: 0.8879 MB / 346.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.4227, allocations: 0.7725 MB / 347.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.423, allocations: 91.41 kB / 347.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of SimCode: time 1.133e-06/0.423, allocations: 0 / 347.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.476/2.899, allocations: 4.513 MB / 352.1 MB, free: 0.5312 MB / 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