Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.219e-05, allocations: 2.812 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.519/0.6419, allocations: 78.47 MB / 421.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6422, allocations: 65.03 kB / 421.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02199/0.6642, allocations: 3.923 MB / 425.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6643, allocations: 0 / 425.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.6643, allocations: 4 kB / 425.1 MB, free: 11.98 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001113/0.6655, allocations: 489.1 kB / 425.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.6655, allocations: 8.031 kB / 425.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.475e-05/0.6656, allocations: 53.86 kB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.6658, allocations: 23.72 kB / 425.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.6662, allocations: 230.9 kB / 425.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.6662, allocations: 12.38 kB / 425.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.6663, allocations: 23.59 kB / 425.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.667, allocations: 202.3 kB / 426.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.667, allocations: 7.938 kB / 426.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.6671, allocations: 11.55 kB / 426.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.6671, allocations: 8 kB / 426.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.6676, allocations: 122.9 kB / 426.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.6698, allocations: 0.8017 MB / 427.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.6706, allocations: 186.4 kB / 427.2 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.671, allocations: 96.45 kB / 427.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.6711, allocations: 4 kB / 427.3 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.6711, allocations: 34.88 kB / 427.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.767e-06/0.6711, allocations: 0 / 427.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.002481/0.6736, allocations: 0.7617 MB / 428.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.6737, allocations: 81.27 kB / 428.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.674, allocations: 157.9 kB / 428.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.6741, allocations: 29.27 kB / 428.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.6743, allocations: 202.4 kB / 428.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.6744, allocations: 98.28 kB / 428.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.6745, allocations: 3.688 kB / 428.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.6747, allocations: 330.4 kB / 429 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.675, allocations: 50.81 kB / 429.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.6753, allocations: 99.14 kB / 429.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.6756, allocations: 70.98 kB / 429.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6756, allocations: 0 / 429.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007683/0.6764, allocations: 207.1 kB / 429.4 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.6765, allocations: 11.58 kB / 429.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6765, allocations: 4 kB / 429.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.6765, allocations: 3.984 kB / 429.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.6772, allocations: 66.66 kB / 429.5 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.6773, allocations: 4.094 kB / 429.5 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.6776, allocations: 10.81 kB / 429.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.6776, allocations: 11.94 kB / 429.5 MB, free: 7.805 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001496/0.6778, allocations: 124.5 kB / 429.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.6779, allocations: 19.72 kB / 429.7 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.6781, allocations: 24.84 kB / 429.7 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.6781, allocations: 4 kB / 429.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6781, allocations: 0 / 429.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.6781, allocations: 7.984 kB / 429.7 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.6798, allocations: 0.5652 MB / 430.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6798, allocations: 0 / 430.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.6805, allocations: 67.62 kB / 430.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.6805, allocations: 4 kB / 430.4 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.6806, allocations: 3.062 kB / 430.4 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.6806, allocations: 7.953 kB / 430.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.6806, allocations: 0 / 430.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.6817, allocations: 0.5014 MB / 430.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.6818, allocations: 100.9 kB / 431 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.6819, allocations: 7.625 kB / 431 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.6823, allocations: 15.38 kB / 431 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.6824, allocations: 19.28 kB / 431 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.6825, allocations: 15.89 kB / 431 MB, free: 6.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.6827, allocations: 130.1 kB / 431.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6827, allocations: 0 / 431.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007568/0.6835, allocations: 50.06 kB / 431.2 MB, free: 6.234 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001637/0.6851, allocations: 1.33 MB / 432.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.6858, allocations: 150.4 kB / 432.7 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6858, allocations: 0 / 432.7 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.6861, allocations: 84.86 kB / 432.8 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.6869, allocations: 30.67 kB / 432.8 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.6895, allocations: 0.6325 MB / 433.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.6901, allocations: 0.752 MB / 434.2 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.6903, allocations: 70.41 kB / 434.2 MB, free: 3.305 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6903, allocations: 0 / 434.2 MB, free: 3.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.449/3.14, allocations: 3.521 MB / 437.8 MB, free: 15.82 MB / 362.7 MB