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 1.973/1.973, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.717e-05/4.737e-05, allocations: 5.234 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09539, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3817/0.4771, allocations: 71.79 MB / 371.7 MB, free: 21.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.4775, allocations: 63.98 kB / 371.8 MB, free: 21.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.4951, allocations: 4.071 MB / 375.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4952, allocations: 1.219 kB / 375.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.4952, allocations: 5.25 kB / 375.9 MB, free: 20.96 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.0007948/0.496, allocations: 485.7 kB / 376.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4961, allocations: 9.188 kB / 376.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.4962, allocations: 59.33 kB / 376.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.4963, allocations: 34.33 kB / 376.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.4966, allocations: 234.4 kB / 376.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4966, allocations: 16.44 kB / 376.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.4967, allocations: 28.89 kB / 376.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.4973, allocations: 236.3 kB / 376.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.4973, allocations: 5.094 kB / 376.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.4973, allocations: 8.656 kB / 377 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4974, allocations: 13.12 kB / 377 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.4978, allocations: 156.6 kB / 377.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.4993, allocations: 0.8029 MB / 377.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.5, allocations: 290.8 kB / 378.2 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.5004, allocations: 127.9 kB / 378.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.5004, allocations: 3.25 kB / 378.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.5004, allocations: 41.52 kB / 378.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.306e-06/0.5005, allocations: 1.031 kB / 378.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.003444/0.5039, allocations: 1.859 MB / 380.2 MB, free: 18.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.504, allocations: 108.8 kB / 380.3 MB, free: 18.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.5042, allocations: 172.3 kB / 380.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.5043, allocations: 34.89 kB / 380.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.5044, allocations: 195.3 kB / 380.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5045, allocations: 164.3 kB / 380.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.5045, allocations: 8.344 kB / 380.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.5046, allocations: 327.7 kB / 381.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.5049, allocations: 87.09 kB / 381.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.5052, allocations: 155.4 kB / 381.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.5055, allocations: 103.4 kB / 381.6 MB, free: 17.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5055, allocations: 3.938 kB / 381.6 MB, free: 17.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007324/0.5063, allocations: 322 kB / 381.9 MB, free: 17.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5063, allocations: 9.875 kB / 381.9 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.5063, allocations: 1.406 kB / 381.9 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.5064, allocations: 8.297 kB / 381.9 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.507, allocations: 93.88 kB / 382 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.5071, allocations: 9 kB / 382 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.5073, allocations: 10 kB / 382 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.5074, allocations: 15.75 kB / 382 MB, free: 17.21 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 0.0001077/0.5075, allocations: 126.2 kB / 382.1 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5076, allocations: 31.41 kB / 382.2 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.5077, allocations: 41.55 kB / 382.2 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5078, allocations: 10.06 kB / 382.2 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.5078, allocations: 5.234 kB / 382.2 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5078, allocations: 2.062 kB / 382.2 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.5098, allocations: 1.051 MB / 383.3 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5098, allocations: 3.219 kB / 383.3 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.5106, allocations: 88.56 kB / 383.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.5106, allocations: 5.094 kB / 383.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.5107, allocations: 13.38 kB / 383.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.5107, allocations: 5.156 kB / 383.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5107, allocations: 3.5 kB / 383.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5119, allocations: 0.8342 MB / 384.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.512, allocations: 105.1 kB / 384.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.5121, allocations: 13.06 kB / 384.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.5124, allocations: 15.31 kB / 384.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.5125, allocations: 31.86 kB / 384.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.5126, allocations: 23.97 kB / 384.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.5127, allocations: 133.1 kB / 384.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5127, allocations: 0 / 384.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006384/0.5134, allocations: 76.64 kB / 384.6 MB, free: 15.7 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.002131/0.5155, allocations: 2.148 MB / 386.8 MB, free: 29.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006805/0.5163, allocations: 253.6 kB / 387 MB, free: 29.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5163, allocations: 0 / 387 MB, free: 29.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.5166, allocations: 140.3 kB / 387.2 MB, free: 29.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.5174, allocations: 65.08 kB / 387.2 MB, free: 29.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.5196, allocations: 0.8956 MB / 388.1 MB, free: 29.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.52, allocations: 0.7777 MB / 388.9 MB, free: 28.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.5203, allocations: 90.48 kB / 389 MB, free: 28.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5203, allocations: 1.062 kB / 389 MB, free: 28.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.467/2.987, allocations: 4.529 MB / 393.5 MB, free: 28.14 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