Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.715/2.715, allocations: 195 MB / 202.9 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.509e-05, allocations: 3 kB / 249.7 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4802/0.5878, allocations: 71.14 MB / 365.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5881, allocations: 66.33 kB / 365.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02095/0.6091, allocations: 4.036 MB / 369.5 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.6091, allocations: 0 / 369.5 MB, free: 22.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.6092, allocations: 11.88 kB / 369.5 MB, free: 22.61 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.0009628/0.6102, allocations: 488.8 kB / 370 MB, free: 22.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.6102, allocations: 7.562 kB / 370 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.6103, allocations: 51.03 kB / 370.1 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.6104, allocations: 34.42 kB / 370.1 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.6107, allocations: 229.4 kB / 370.3 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6108, allocations: 11.59 kB / 370.3 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.6109, allocations: 15.16 kB / 370.3 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000516/0.6114, allocations: 138 kB / 370.5 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.612, allocations: 204.3 kB / 370.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.6121, allocations: 5.219 kB / 370.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.6121, allocations: 3.953 kB / 370.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.6121, allocations: 6.5 kB / 370.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.6139, allocations: 0.75 MB / 371.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.6147, allocations: 260.3 kB / 371.7 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.6151, allocations: 122.9 kB / 371.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.6152, allocations: 8.016 kB / 371.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.6152, allocations: 37.81 kB / 371.9 MB, free: 21.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.248e-06/0.6152, allocations: 0 / 371.9 MB, free: 21.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.003801/0.6191, allocations: 1.732 MB / 373.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.6192, allocations: 118.4 kB / 373.7 MB, free: 19.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.6194, allocations: 142.9 kB / 373.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.6194, allocations: 25.7 kB / 373.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6196, allocations: 138.9 kB / 374 MB, free: 19.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.6197, allocations: 152.7 kB / 374.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.6198, allocations: 0 / 374.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6199, allocations: 345.1 kB / 374.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.6202, allocations: 74.81 kB / 374.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.6205, allocations: 145.7 kB / 374.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.6208, allocations: 108.3 kB / 374.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6209, allocations: 0 / 374.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008689/0.6217, allocations: 296.7 kB / 375.1 MB, free: 18.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.6218, allocations: 7.75 kB / 375.1 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6218, allocations: 0 / 375.1 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.6218, allocations: 3.875 kB / 375.1 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.6227, allocations: 96.22 kB / 375.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6227, allocations: 3.938 kB / 375.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.623, allocations: 3.75 kB / 375.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.6231, allocations: 15 kB / 375.2 MB, free: 18.98 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.0001508/0.6232, allocations: 123 kB / 375.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.6234, allocations: 31.28 kB / 375.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.6235, allocations: 26.22 kB / 375.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.6235, allocations: 10.53 kB / 375.4 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6236, allocations: 0 / 375.4 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.6236, allocations: 0 / 375.4 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.6259, allocations: 0.9711 MB / 376.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.626, allocations: 4 kB / 376.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.627, allocations: 92.19 kB / 376.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.6271, allocations: 3.875 kB / 376.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.6271, allocations: 3.812 kB / 376.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.6272, allocations: 7.688 kB / 376.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6272, allocations: 3.875 kB / 376.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.6285, allocations: 0.8059 MB / 377.3 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.6286, allocations: 99.2 kB / 377.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.6287, allocations: 7.797 kB / 377.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.6292, allocations: 2.531 kB / 377.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6293, allocations: 37.41 kB / 377.4 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.6294, allocations: 15.64 kB / 377.5 MB, free: 17.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.6295, allocations: 112.8 kB / 377.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.475e-06/0.6296, allocations: 0 / 377.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007855/0.6304, allocations: 61.12 kB / 377.6 MB, free: 17.5 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.002073/0.6325, allocations: 2.103 MB / 379.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007365/0.6332, allocations: 227.2 kB / 380 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6333, allocations: 0 / 380 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.6336, allocations: 126.6 kB / 380.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.6346, allocations: 53.56 kB / 380.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.6373, allocations: 0.8277 MB / 381 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.6379, allocations: 0.7766 MB / 381.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.6381, allocations: 31.16 kB / 381.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.6384, allocations: 89.98 kB / 381.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6384, allocations: 0 / 381.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06138/0.6998, allocations: 4.868 MB / 386.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003686/0.7002, allocations: 139.9 kB / 386.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.581/4.281, allocations: 0 / 386.9 MB, free: 13.13 MB / 314.7 MB "" Variables in the reference:time,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel,springDamper3.s_rel,springDamper3.v_rel Variables in the result:damper1.d,damper1.f,damper1.flange_a.f,damper1.flange_a.s,damper1.flange_b.f,damper1.flange_b.s,damper1.lossPower,damper1.s_nominal,damper1.s_rel,damper1.stateSelect,damper1.useHeatPort,damper1.v_rel,damper2.d,damper2.f,damper2.flange_a.f,damper2.flange_a.s,damper2.flange_b.f,damper2.flange_b.s,damper2.lossPower,damper2.s_nominal,damper2.s_rel,damper2.stateSelect,damper2.useHeatPort,damper2.v_rel,der(damper1.flange_a.s),der(damper1.s_rel),der(damper1.v_rel),der(damper2.flange_a.s),der(damper2.s_rel),der(damper2.v_rel),der(der(damper1.flange_a.s)),der(der(damper2.flange_a.s)),der(der(mass3.flange_b.s)),der(mass1.s),der(mass1.v),der(mass2.s),der(mass2.v),der(mass3.flange_b.s),der(mass3.s),der(mass3.v),der(springDamper3.s_rel),der(springDamper3.v_rel),fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.s0,fixed3.flange.f,fixed3.flange.s,fixed3.s0,mass1.L,mass1.a,mass1.flange_a.f,mass1.flange_a.s,mass1.flange_b.f,mass1.flange_b.s,mass1.m,mass1.s,mass1.stateSelect,mass1.v,mass2.L,mass2.a,mass2.flange_a.f,mass2.flange_a.s,mass2.flange_b.f,mass2.flange_b.s,mass2.m,mass2.s,mass2.stateSelect,mass2.v,mass3.L,mass3.a,mass3.flange_a.f,mass3.flange_a.s,mass3.flange_b.f,mass3.flange_b.s,mass3.m,mass3.s,mass3.stateSelect,mass3.v,spring2.c,spring2.f,spring2.flange_a.f,spring2.flange_a.s,spring2.flange_b.f,spring2.flange_b.s,spring2.s_rel,spring2.s_rel0,springDamper3.c,springDamper3.d,springDamper3.f,springDamper3.f_c,springDamper3.f_d,springDamper3.flange_a.f,springDamper3.flange_a.s,springDamper3.flange_b.f,springDamper3.flange_b.s,springDamper3.lossPower,springDamper3.s_nominal,springDamper3.s_rel,springDamper3.s_rel0,springDamper3.stateSelect,springDamper3.useHeatPort,springDamper3.v_rel,time