Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.674e-05, allocations: 2.219 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09763, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.335/0.4327, allocations: 71.68 MB / 371.5 MB, free: 21.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4329, allocations: 64.5 kB / 371.6 MB, free: 21.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01747/0.4504, allocations: 4.461 MB / 376 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.927e-06/0.4505, allocations: 0 / 376 MB, free: 20.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.4505, allocations: 5.438 kB / 376 MB, free: 20.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006521/0.4512, allocations: 0.4896 MB / 376.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4512, allocations: 9.75 kB / 376.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.4513, allocations: 31.75 kB / 376.6 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.4516, allocations: 238.9 kB / 376.8 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.4516, allocations: 20.62 kB / 376.8 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.4517, allocations: 28.06 kB / 376.9 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.4522, allocations: 244.7 kB / 377.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.4522, allocations: 1.062 kB / 377.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.4523, allocations: 14 kB / 377.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4523, allocations: 6.406 kB / 377.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.4527, allocations: 175.2 kB / 377.3 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.4539, allocations: 0.7527 MB / 378 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.4544, allocations: 270.6 kB / 378.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.4547, allocations: 117.8 kB / 378.4 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4547, allocations: 3.75 kB / 378.4 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4547, allocations: 37.38 kB / 378.5 MB, free: 19.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.075e-06/0.4548, allocations: 5.203 kB / 378.5 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002987/0.4578, allocations: 1.628 MB / 380.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.4578, allocations: 84.25 kB / 380.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.458, allocations: 159.7 kB / 380.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4581, allocations: 35.8 kB / 380.4 MB, free: 18.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.4581, allocations: 196 kB / 380.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4583, allocations: 176.1 kB / 380.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.4583, allocations: 8.656 kB / 380.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.4584, allocations: 335.8 kB / 381.1 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.4586, allocations: 96.72 kB / 381.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.4589, allocations: 145.2 kB / 381.3 MB, free: 17.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4592, allocations: 127 kB / 381.4 MB, free: 17.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-06/0.4592, allocations: 4 kB / 381.4 MB, free: 17.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000688/0.4599, allocations: 348.7 kB / 381.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.46, allocations: 8.312 kB / 381.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.039e-06/0.46, allocations: 1.562 kB / 381.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.46, allocations: 2.781 kB / 381.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.4605, allocations: 99.53 kB / 381.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.4606, allocations: 9.281 kB / 381.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4607, allocations: 12.72 kB / 381.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.4608, allocations: 14.75 kB / 381.9 MB, free: 17.7 MB / 314.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 (58): * Single equations (assignments): 58 * 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 9.168e-05/0.4609, allocations: 131.3 kB / 382 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.461, allocations: 28.03 kB / 382.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.4611, allocations: 37.16 kB / 382.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.4611, allocations: 4.688 kB / 382.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.555e-06/0.4611, allocations: 2.656 kB / 382.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.609e-06/0.4611, allocations: 2.109 kB / 382.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.4629, allocations: 0.956 MB / 383.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4629, allocations: 2.859 kB / 383.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.4635, allocations: 101.4 kB / 383.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.4635, allocations: 4.812 kB / 383.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.4635, allocations: 11.66 kB / 383.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-06/0.4636, allocations: 3.219 kB / 383.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.4636, allocations: 0 / 383.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.4645, allocations: 0.6602 MB / 383.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.4646, allocations: 102.8 kB / 384 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.4647, allocations: 10 kB / 384 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.4649, allocations: 10.28 kB / 384 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.465, allocations: 31.83 kB / 384 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.465, allocations: 12.41 kB / 384 MB, free: 16.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4651, allocations: 130.2 kB / 384.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.4652, allocations: 0 / 384.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.4657, allocations: 80.91 kB / 384.2 MB, free: 16.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.0001329/0.4658, allocations: 112.3 kB / 384.3 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.4664, allocations: 280.6 kB / 384.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.638e-06/0.4665, allocations: 0 / 384.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.4668, allocations: 155.4 kB / 384.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.4673, allocations: 55.23 kB / 384.8 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.4688, allocations: 0.9171 MB / 385.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.4691, allocations: 0.7854 MB / 386.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4692, allocations: 31.36 kB / 386.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.581e-06/0.4693, allocations: 0 / 386.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of Templates: time 0.006519/0.4758, allocations: 3.545 MB / 390.1 MB, free: 14.9 MB / 314.7 MB