Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.178/1.178, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.972e-05, allocations: 0 / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1801, allocations: 25.15 MB / 176.6 MB, free: 15.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06313/0.2433, allocations: 33.72 MB / 210.4 MB, free: 15.64 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.2436, allocations: 55.97 kB / 210.4 MB, free: 15.59 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.2604, allocations: 3.848 MB / 214.3 MB, free: 11.73 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2605, allocations: 0 / 214.3 MB, free: 11.73 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.2605, allocations: 4 kB / 214.3 MB, free: 11.73 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008598/0.2614, allocations: 470.6 kB / 214.7 MB, free: 11.22 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2614, allocations: 12.02 kB / 214.7 MB, free: 11.21 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.634e-05/0.2615, allocations: 58.55 kB / 214.8 MB, free: 11.14 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.2616, allocations: 27.72 kB / 214.8 MB, free: 11.12 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2618, allocations: 190.7 kB / 215 MB, free: 10.89 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.2619, allocations: 12.44 kB / 215 MB, free: 10.88 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.262, allocations: 31.98 kB / 215 MB, free: 10.85 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.2625, allocations: 225.3 kB / 215.3 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.2626, allocations: 3.906 kB / 215.3 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.2626, allocations: 12 kB / 215.3 MB, free: 10.6 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.2626, allocations: 4 kB / 215.3 MB, free: 10.59 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.263, allocations: 124.3 kB / 215.4 MB, free: 10.47 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2646, allocations: 0.7746 MB / 216.2 MB, free: 9.641 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.2653, allocations: 243.6 kB / 216.4 MB, free: 9.375 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.2656, allocations: 122.5 kB / 216.5 MB, free: 9.246 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2657, allocations: 0 / 216.5 MB, free: 9.246 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.2657, allocations: 38.56 kB / 216.6 MB, free: 9.199 MB / 186.7 MB Notification: Performance of pre-optimization done (n=28): time 2.795e-06/0.2657, allocations: 0 / 216.6 MB, free: 9.199 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.003844/0.2696, allocations: 1.785 MB / 218.4 MB, free: 7.148 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.2697, allocations: 110.8 kB / 218.5 MB, free: 7.016 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.27, allocations: 162.5 kB / 218.6 MB, free: 6.848 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.27, allocations: 29.7 kB / 218.7 MB, free: 6.812 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2702, allocations: 195.2 kB / 218.8 MB, free: 6.617 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.2703, allocations: 145.8 kB / 219 MB, free: 6.473 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.2704, allocations: 4 kB / 219 MB, free: 6.469 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2705, allocations: 326.8 kB / 219.3 MB, free: 6.141 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.2708, allocations: 80.88 kB / 219.4 MB, free: 6.059 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.2711, allocations: 141.4 kB / 219.5 MB, free: 5.898 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.2713, allocations: 101 kB / 219.6 MB, free: 5.801 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2714, allocations: 4 kB / 219.6 MB, free: 5.797 MB / 186.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007264/0.2721, allocations: 282.1 kB / 219.9 MB, free: 5.516 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.2721, allocations: 9.859 kB / 219.9 MB, free: 5.508 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.2722, allocations: 4 kB / 219.9 MB, free: 5.504 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.2722, allocations: 7.938 kB / 219.9 MB, free: 5.496 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.2728, allocations: 83.91 kB / 220 MB, free: 5.414 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.2729, allocations: 0 / 220 MB, free: 5.414 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.2731, allocations: 15.95 kB / 220 MB, free: 5.398 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2731, allocations: 12 kB / 220 MB, free: 5.387 MB / 186.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 (49): * Single equations (assignments): 49 * 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.0001365/0.2733, allocations: 129 kB / 220.2 MB, free: 5.254 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.2734, allocations: 23.72 kB / 220.2 MB, free: 5.23 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2735, allocations: 41.58 kB / 220.2 MB, free: 5.191 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.2735, allocations: 4 kB / 220.2 MB, free: 5.188 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.2736, allocations: 4 kB / 220.2 MB, free: 5.184 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.2736, allocations: 3.984 kB / 220.2 MB, free: 5.18 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.2757, allocations: 0.9996 MB / 221.2 MB, free: 4.094 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.2757, allocations: 4 kB / 221.2 MB, free: 4.09 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.2764, allocations: 79.91 kB / 221.3 MB, free: 4.012 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.2765, allocations: 4 kB / 221.3 MB, free: 4.008 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.2765, allocations: 15.98 kB / 221.3 MB, free: 3.992 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/0.2765, allocations: 4.281 kB / 221.3 MB, free: 3.988 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.2766, allocations: 12.22 kB / 221.4 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2778, allocations: 0.799 MB / 222.2 MB, free: 3.059 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2779, allocations: 96.83 kB / 222.3 MB, free: 2.945 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.278, allocations: 16.05 kB / 222.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.2784, allocations: 8 kB / 222.3 MB, free: 2.922 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.2784, allocations: 35.92 kB / 222.3 MB, free: 2.887 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.2785, allocations: 15.94 kB / 222.3 MB, free: 2.871 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.2786, allocations: 127.4 kB / 222.5 MB, free: 2.746 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2787, allocations: 0 / 222.5 MB, free: 2.746 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006412/0.2793, allocations: 71.94 kB / 222.5 MB, free: 2.676 MB / 186.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 (40): * Single equations (assignments): 40 * 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.001938/0.2813, allocations: 2.1 MB / 224.6 MB, free: 488 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.282, allocations: 219.8 kB / 224.8 MB, free: 268 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.282, allocations: 0 / 224.8 MB, free: 268 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.2823, allocations: 124.5 kB / 225 MB, free: 144 kB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.283, allocations: 49.84 kB / 225 MB, free: 96 kB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2855, allocations: 0.8556 MB / 225.9 MB, free: 15.16 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.286, allocations: 0.7646 MB / 226.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.2862, allocations: 87.42 kB / 226.7 MB, free: 14.29 MB / 202.7 MB Notification: Performance of SimCode: time 1.193e-06/0.2862, allocations: 0 / 226.7 MB, free: 14.29 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.587/2.873, allocations: 4.198 MB / 230.9 MB, free: 10.1 MB / 202.7 MB