Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-05/6.278e-05, allocations: 0 / 292.2 MB, free: 8.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 50.41 MB / 342.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5577, allocations: 77.61 MB / 420.2 MB, free: 192 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.558, allocations: 62.66 kB / 420.3 MB, free: 160 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.5762, allocations: 4.3 MB / 424.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5762, allocations: 0 / 424.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.5763, allocations: 8 kB / 424.6 MB, free: 12.54 MB / 346.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.0008887/0.5772, allocations: 473.9 kB / 425.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5772, allocations: 16.02 kB / 425.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.491e-05/0.5773, allocations: 62.73 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.5774, allocations: 27.62 kB / 425.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.5778, allocations: 228.6 kB / 425.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.5778, allocations: 19.31 kB / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.5779, allocations: 29.83 kB / 425.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.5784, allocations: 222.9 kB / 425.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.5785, allocations: 10.78 kB / 425.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.5785, allocations: 10.88 kB / 425.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.5785, allocations: 12 kB / 425.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.579, allocations: 152.1 kB / 425.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.5805, allocations: 0.8029 MB / 426.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.5813, allocations: 276.9 kB / 426.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.5816, allocations: 130.6 kB / 427 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.5817, allocations: 7.938 kB / 427 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5817, allocations: 38.25 kB / 427.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.607e-06/0.5818, allocations: 4 kB / 427.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.003825/0.5856, allocations: 1.867 MB / 429 MB, free: 8.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.5857, allocations: 106.8 kB / 429.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.586, allocations: 160.6 kB / 429.2 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.586, allocations: 33.58 kB / 429.3 MB, free: 8.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.5862, allocations: 197.1 kB / 429.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.5863, allocations: 168.5 kB / 429.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.5864, allocations: 6.125 kB / 429.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5865, allocations: 329.1 kB / 429.9 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.5868, allocations: 87.94 kB / 430 MB, free: 7.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.5871, allocations: 147.4 kB / 430.2 MB, free: 7.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.5874, allocations: 116.8 kB / 430.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.5874, allocations: 0 / 430.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007649/0.5882, allocations: 322 kB / 430.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.5883, allocations: 8 kB / 430.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5883, allocations: 0 / 430.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.5883, allocations: 4 kB / 430.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.589, allocations: 95.31 kB / 430.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.589, allocations: 4 kB / 430.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.5892, allocations: 14.38 kB / 430.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.5893, allocations: 11.94 kB / 430.7 MB, free: 6.758 MB / 346.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.0001379/0.5894, allocations: 127.6 kB / 430.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5896, allocations: 31.67 kB / 430.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.5897, allocations: 34.78 kB / 430.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.5897, allocations: 4 kB / 430.9 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.5897, allocations: 4 kB / 430.9 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5897, allocations: 7.984 kB / 430.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.5919, allocations: 1.051 MB / 432 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.592, allocations: 4 kB / 432 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.5927, allocations: 91.36 kB / 432.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/0.5927, allocations: 4 kB / 432.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.5928, allocations: 18.73 kB / 432.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/0.5928, allocations: 11.88 kB / 432.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5928, allocations: 4 kB / 432.1 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.5941, allocations: 0.8261 MB / 432.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5942, allocations: 104.7 kB / 433 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.5943, allocations: 10.81 kB / 433.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.5946, allocations: 14.86 kB / 433.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.5947, allocations: 39.23 kB / 433.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.5948, allocations: 15.5 kB / 433.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.5949, allocations: 132.5 kB / 433.3 MB, free: 4.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.595, allocations: 0 / 433.3 MB, free: 4.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006793/0.5956, allocations: 82.12 kB / 433.3 MB, free: 4.316 MB / 346.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.001938/0.5976, allocations: 2.137 MB / 435.5 MB, free: 2.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006891/0.5983, allocations: 248.7 kB / 435.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.5983, allocations: 0 / 435.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.5987, allocations: 137.7 kB / 435.8 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.5995, allocations: 52.12 kB / 435.9 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.602, allocations: 0.8806 MB / 436.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.6025, allocations: 0.784 MB / 437.6 MB, free: 204 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.6027, allocations: 88.66 kB / 437.6 MB, free: 168 kB / 346.7 MB Notification: Performance of SimCode: time 1.452e-06/0.6027, allocations: 0 / 437.6 MB, free: 168 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.548/3.15, allocations: 4.519 MB / 442.2 MB, free: 11.71 MB / 362.7 MB