Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.813e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09089, allocations: 50.4 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.506, allocations: 78.44 MB / 421 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5063, allocations: 66.72 kB / 421 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01572/0.522, allocations: 3.929 MB / 425 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.801e-06/0.522, allocations: 0 / 425 MB, free: 12.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.5221, allocations: 7.984 kB / 425 MB, free: 12.34 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.0007573/0.5228, allocations: 474.2 kB / 425.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5229, allocations: 12.03 kB / 425.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.523, allocations: 27.7 kB / 425.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.5233, allocations: 220.8 kB / 425.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.5233, allocations: 12.06 kB / 425.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.5234, allocations: 24.66 kB / 425.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.5239, allocations: 196.8 kB / 425.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.5239, allocations: 11.95 kB / 425.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.5239, allocations: 7.5 kB / 425.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.529e-06/0.524, allocations: 4 kB / 426 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.5243, allocations: 128.3 kB / 426.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.5259, allocations: 0.7974 MB / 426.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.5264, allocations: 177.2 kB / 427 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.5266, allocations: 106.1 kB / 427.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.5267, allocations: 4 kB / 427.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5267, allocations: 41.94 kB / 427.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 7.045e-06/0.5268, allocations: 3.984 kB / 427.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001675/0.5284, allocations: 0.7628 MB / 428 MB, free: 9.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.5285, allocations: 89.05 kB / 428 MB, free: 9.406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.5288, allocations: 154.4 kB / 428.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.5288, allocations: 33.39 kB / 428.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5289, allocations: 198.1 kB / 428.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.5291, allocations: 99.64 kB / 428.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.5291, allocations: 3.375 kB / 428.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5293, allocations: 329.5 kB / 428.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.5295, allocations: 49.81 kB / 428.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.5297, allocations: 100.8 kB / 429 MB, free: 8.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5298, allocations: 69.61 kB / 429.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-06/0.5299, allocations: 0 / 429.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004797/0.5304, allocations: 209.2 kB / 429.3 MB, free: 8.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5304, allocations: 4.094 kB / 429.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.543e-06/0.5304, allocations: 8 kB / 429.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5304, allocations: 0 / 429.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.5308, allocations: 63.91 kB / 429.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.88e-06/0.5308, allocations: 0 / 429.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.531, allocations: 18.86 kB / 429.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.5311, allocations: 8 kB / 429.4 MB, free: 8.223 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.0001196/0.5312, allocations: 126.6 kB / 429.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.5313, allocations: 23.72 kB / 429.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/0.5314, allocations: 23.66 kB / 429.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5314, allocations: 7.984 kB / 429.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.817e-06/0.5314, allocations: 0 / 429.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-06/0.5314, allocations: 0 / 429.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5326, allocations: 0.5727 MB / 430.1 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-06/0.5326, allocations: 0 / 430.1 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.533, allocations: 62.91 kB / 430.2 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.774e-06/0.5331, allocations: 4 kB / 430.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.5331, allocations: 7.047 kB / 430.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.5331, allocations: 7.953 kB / 430.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.784e-06/0.5331, allocations: 0 / 430.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.5339, allocations: 0.5032 MB / 430.7 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.534, allocations: 100.8 kB / 430.8 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.5341, allocations: 7.875 kB / 430.8 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.5343, allocations: 7.625 kB / 430.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.5344, allocations: 16.02 kB / 430.8 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.5344, allocations: 19.19 kB / 430.9 MB, free: 6.809 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.5346, allocations: 137.8 kB / 431 MB, free: 6.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.5346, allocations: 0 / 431 MB, free: 6.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004741/0.5351, allocations: 50.88 kB / 431 MB, free: 6.645 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.0001686/0.5353, allocations: 114.3 kB / 431.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.5357, allocations: 140.9 kB / 431.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.091e-06/0.5357, allocations: 0 / 431.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.5359, allocations: 87.27 kB / 431.4 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.5364, allocations: 40.56 kB / 431.4 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.5377, allocations: 0.5665 MB / 432 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.5382, allocations: 0.7521 MB / 432.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.5383, allocations: 23.42 kB / 432.7 MB, free: 4.973 MB / 346.7 MB Notification: Performance of SimCode: time 1.55e-06/0.5383, allocations: 0 / 432.7 MB, free: 4.973 MB / 346.7 MB Notification: Performance of Templates: time 0.00564/0.544, allocations: 2.508 MB / 435.3 MB, free: 2.492 MB / 346.7 MB