Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.052/1.052, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.265e-05, allocations: 4 kB / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05259/0.05265, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002799/0.0555, allocations: 1.678 MB / 181.4 MB, free: 7.938 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006326/0.05619, allocations: 223.5 kB / 181.6 MB, free: 7.719 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.05633, allocations: 4 kB / 181.6 MB, free: 7.715 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.614e-05/0.05642, allocations: 31.77 kB / 181.6 MB, free: 7.684 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.05668, allocations: 79.8 kB / 181.7 MB, free: 7.605 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.05687, allocations: 47.94 kB / 181.7 MB, free: 7.559 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.05716, allocations: 163.5 kB / 181.9 MB, free: 7.398 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.05737, allocations: 49.33 kB / 182 MB, free: 7.348 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.05752, allocations: 75.83 kB / 182 MB, free: 7.273 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.05774, allocations: 95.67 kB / 182.1 MB, free: 7.18 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.778e-05/0.05781, allocations: 8 kB / 182.1 MB, free: 7.172 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.05786, allocations: 12 kB / 182.1 MB, free: 7.16 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.05792, allocations: 31.84 kB / 182.2 MB, free: 7.129 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.05801, allocations: 28 kB / 182.2 MB, free: 7.102 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.05834, allocations: 211.6 kB / 182.4 MB, free: 6.895 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.05836, allocations: 3.938 kB / 182.4 MB, free: 6.891 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.05837, allocations: 0 / 182.4 MB, free: 6.891 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.05839, allocations: 4 kB / 182.4 MB, free: 6.887 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0009959/0.0594, allocations: 491.3 kB / 182.9 MB, free: 6.359 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.05946, allocations: 16.02 kB / 182.9 MB, free: 6.344 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.05957, allocations: 31.62 kB / 182.9 MB, free: 6.312 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.05992, allocations: 231.3 kB / 183.2 MB, free: 6.043 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.05997, allocations: 16.56 kB / 183.2 MB, free: 6.027 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.06005, allocations: 24 kB / 183.2 MB, free: 6.004 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.06063, allocations: 230.6 kB / 183.4 MB, free: 5.766 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.06067, allocations: 3.906 kB / 183.4 MB, free: 5.762 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.06072, allocations: 15.95 kB / 183.4 MB, free: 5.746 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.06074, allocations: 8 kB / 183.5 MB, free: 5.738 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.06118, allocations: 159.8 kB / 183.6 MB, free: 5.582 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.06272, allocations: 0.7109 MB / 184.3 MB, free: 4.816 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.06332, allocations: 241 kB / 184.6 MB, free: 4.562 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.06337, allocations: 7.938 kB / 184.6 MB, free: 4.555 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.06342, allocations: 42.5 kB / 184.6 MB, free: 4.504 MB / 154.7 MB Notification: Performance of pre-optimization done (n=30): time 2.885e-06/0.06343, allocations: 0 / 184.6 MB, free: 4.504 MB / 154.7 MB Notification: Performance of matching and sorting (n=42): time 0.003912/0.06735, allocations: 1.611 MB / 186.2 MB, free: 2.715 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.06746, allocations: 89.05 kB / 186.3 MB, free: 2.609 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.06769, allocations: 154.3 kB / 186.5 MB, free: 2.449 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.06775, allocations: 37.7 kB / 186.5 MB, free: 2.406 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.06788, allocations: 195.1 kB / 186.7 MB, free: 2.215 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.06807, allocations: 153.8 kB / 186.8 MB, free: 2.062 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.0681, allocations: 4 kB / 186.8 MB, free: 2.059 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.06825, allocations: 330.8 kB / 187.2 MB, free: 1.727 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.06852, allocations: 92.84 kB / 187.3 MB, free: 1.637 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.06883, allocations: 143.8 kB / 187.4 MB, free: 1.488 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.06916, allocations: 111.9 kB / 187.5 MB, free: 1.379 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.06917, allocations: 0 / 187.5 MB, free: 1.379 MB / 154.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007918/0.06998, allocations: 325.1 kB / 187.8 MB, free: 1.055 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.07001, allocations: 4 kB / 187.8 MB, free: 1.051 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.07003, allocations: 64 / 187.8 MB, free: 1.051 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.07006, allocations: 8 kB / 187.8 MB, free: 1.043 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.07076, allocations: 91.89 kB / 187.9 MB, free: 0.9531 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.07079, allocations: 4 kB / 187.9 MB, free: 0.9492 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.07101, allocations: 12 kB / 187.9 MB, free: 0.9375 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.07106, allocations: 15.95 kB / 188 MB, free: 0.9219 MB / 154.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002086/0.07128, allocations: 149.7 kB / 188.1 MB, free: 0.7656 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.07139, allocations: 27.72 kB / 188.1 MB, free: 0.7383 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.07152, allocations: 37.86 kB / 188.2 MB, free: 0.6992 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.07154, allocations: 8 kB / 188.2 MB, free: 0.6914 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.07156, allocations: 0 / 188.2 MB, free: 0.6914 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.07159, allocations: 3.984 kB / 188.2 MB, free: 0.6875 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.07354, allocations: 0.8943 MB / 189.1 MB, free: 15.73 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.0736, allocations: 4 kB / 189.1 MB, free: 15.73 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/0.0744, allocations: 87.89 kB / 189.2 MB, free: 15.64 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.07443, allocations: 4 kB / 189.2 MB, free: 15.64 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.07448, allocations: 7.953 kB / 189.2 MB, free: 15.63 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.0745, allocations: 4 kB / 189.2 MB, free: 15.62 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.07451, allocations: 0 / 189.2 MB, free: 15.62 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.07564, allocations: 0.6304 MB / 189.8 MB, free: 14.95 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.07578, allocations: 100.8 kB / 189.9 MB, free: 14.84 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.07586, allocations: 15.94 kB / 189.9 MB, free: 14.82 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.07615, allocations: 8 kB / 189.9 MB, free: 14.81 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.07623, allocations: 27.92 kB / 190 MB, free: 14.79 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.07628, allocations: 16 kB / 190 MB, free: 14.77 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.07644, allocations: 133.1 kB / 190.1 MB, free: 14.64 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.07646, allocations: 3.938 kB / 190.1 MB, free: 14.64 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000512/0.07698, allocations: 72 kB / 190.2 MB, free: 14.57 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0001682/0.07716, allocations: 115.1 kB / 190.3 MB, free: 14.45 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0007242/0.07789, allocations: 247.8 kB / 190.5 MB, free: 14.2 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.07791, allocations: 4 kB / 190.5 MB, free: 14.2 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.07823, allocations: 135.8 kB / 190.7 MB, free: 14.07 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.07895, allocations: 61.8 kB / 190.7 MB, free: 14.01 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.08142, allocations: 1.159 MB / 191.9 MB, free: 12.81 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.08189, allocations: 0.7725 MB / 192.7 MB, free: 12 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.08206, allocations: 27.44 kB / 192.7 MB, free: 11.98 MB / 170.7 MB Notification: Performance of SimCode: time 1.293e-06/0.08207, allocations: 0 / 192.7 MB, free: 11.98 MB / 170.7 MB Notification: Performance of Templates: time 0.00867/0.09075, allocations: 3.33 MB / 196 MB, free: 8.641 MB / 170.7 MB