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.006/2.006, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.105e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 44.5 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5233, allocations: 71.81 MB / 371.8 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5236, allocations: 66.7 kB / 371.8 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01758/0.5412, allocations: 4.067 MB / 375.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5412, allocations: 1.062 kB / 375.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.5413, allocations: 4.438 kB / 375.9 MB, free: 20.99 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.0007974/0.5421, allocations: 479.4 kB / 376.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.5421, allocations: 9.531 kB / 376.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.5422, allocations: 65.64 kB / 376.4 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.5423, allocations: 33.58 kB / 376.5 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.5426, allocations: 228.5 kB / 376.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.5426, allocations: 24.56 kB / 376.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.5427, allocations: 23.78 kB / 376.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.5433, allocations: 235.2 kB / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.5433, allocations: 9.438 kB / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.5434, allocations: 9.281 kB / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.5434, allocations: 10.02 kB / 377 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.5438, allocations: 147.9 kB / 377.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.5453, allocations: 0.8111 MB / 378 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.5461, allocations: 275 kB / 378.2 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.5464, allocations: 133.3 kB / 378.4 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.5465, allocations: 4.156 kB / 378.4 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5465, allocations: 37.16 kB / 378.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/0.5465, allocations: 1.438 kB / 378.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.003446/0.55, allocations: 1.854 MB / 380.2 MB, free: 18.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.5501, allocations: 108.1 kB / 380.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.5503, allocations: 166.6 kB / 380.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.5503, allocations: 35.61 kB / 380.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.5504, allocations: 199.4 kB / 380.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.5506, allocations: 161.9 kB / 380.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.5506, allocations: 8.312 kB / 380.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.5507, allocations: 330.7 kB / 381.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.5509, allocations: 83.84 kB / 381.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.5512, allocations: 154.3 kB / 381.5 MB, free: 17.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.5515, allocations: 112.9 kB / 381.6 MB, free: 17.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5516, allocations: 1.25 kB / 381.6 MB, free: 17.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007296/0.5523, allocations: 321.2 kB / 381.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5523, allocations: 6.75 kB / 381.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5524, allocations: 2.281 kB / 381.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.5524, allocations: 4.281 kB / 381.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.553, allocations: 95.78 kB / 382 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.5531, allocations: 8.469 kB / 382 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.5533, allocations: 10 kB / 382 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.5534, allocations: 19.12 kB / 382 MB, free: 17.25 MB / 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 9.852e-05/0.5535, allocations: 124.9 kB / 382.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.5536, allocations: 25.91 kB / 382.2 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.5537, allocations: 43.08 kB / 382.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.5537, allocations: 3.938 kB / 382.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.5538, allocations: 5.359 kB / 382.2 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.5538, allocations: 3.891 kB / 382.2 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.5557, allocations: 1.043 MB / 383.3 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.5557, allocations: 2.219 kB / 383.3 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.5565, allocations: 87.89 kB / 383.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.5565, allocations: 6 kB / 383.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.5565, allocations: 14.22 kB / 383.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.5566, allocations: 13.34 kB / 383.4 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5566, allocations: 2.844 kB / 383.4 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5577, allocations: 0.8333 MB / 384.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5578, allocations: 104.8 kB / 384.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.5579, allocations: 18.7 kB / 384.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.5582, allocations: 14.5 kB / 384.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.5583, allocations: 34.23 kB / 384.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.5583, allocations: 14.72 kB / 384.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.5585, allocations: 135.2 kB / 384.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.5585, allocations: 0 / 384.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.5592, allocations: 79.78 kB / 384.6 MB, free: 15.74 MB / 314.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.00214/0.5614, allocations: 2.141 MB / 386.8 MB, free: 29.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007054/0.5621, allocations: 240.3 kB / 387 MB, free: 29.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5621, allocations: 0 / 387 MB, free: 29.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.5624, allocations: 136.5 kB / 387.1 MB, free: 29.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/0.5633, allocations: 62.08 kB / 387.2 MB, free: 29.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.5655, allocations: 0.8867 MB / 388.1 MB, free: 29.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.5659, allocations: 0.7776 MB / 388.9 MB, free: 28.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.5662, allocations: 96.97 kB / 389 MB, free: 28.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5662, allocations: 2.25 kB / 389 MB, free: 28.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.401/2.967, allocations: 4.513 MB / 393.5 MB, free: 28.19 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