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.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.617/1.617, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.302e-05, allocations: 7.984 kB / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 38.76 MB / 263.7 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0997/0.3135, allocations: 66.39 MB / 330.1 MB, free: 7.398 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.3138, allocations: 59.97 kB / 330.2 MB, free: 7.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.3318, allocations: 4.467 MB / 334.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.892e-06/0.3318, allocations: 0 / 334.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.3319, allocations: 12 kB / 334.7 MB, free: 2.84 MB / 282.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.0008158/0.3327, allocations: 0.4984 MB / 335.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3327, allocations: 8.031 kB / 335.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.3328, allocations: 31.62 kB / 335.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3332, allocations: 230.6 kB / 335.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.3332, allocations: 20.56 kB / 335.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.3333, allocations: 31.95 kB / 335.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.3338, allocations: 241.5 kB / 335.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.3339, allocations: 7.891 kB / 335.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.3339, allocations: 12 kB / 335.7 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.421e-06/0.334, allocations: 8 kB / 335.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.3344, allocations: 164 kB / 335.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3358, allocations: 0.75 MB / 336.7 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.3363, allocations: 261 kB / 336.9 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3366, allocations: 117.7 kB / 337 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3367, allocations: 4.625 kB / 337 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3367, allocations: 38.56 kB / 337.1 MB, free: 256 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 5.853e-06/0.3367, allocations: 0 / 337.1 MB, free: 256 kB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.00348/0.3402, allocations: 1.64 MB / 338.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.3403, allocations: 81.11 kB / 338.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3405, allocations: 158.6 kB / 338.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.3406, allocations: 33.7 kB / 339 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3407, allocations: 195.2 kB / 339.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.3409, allocations: 177.3 kB / 339.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.341, allocations: 8 kB / 339.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3411, allocations: 327.3 kB / 339.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3414, allocations: 97.12 kB / 339.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.3417, allocations: 144.4 kB / 339.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.342, allocations: 126.3 kB / 340 MB, free: 13.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-06/0.3421, allocations: 0 / 340 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007551/0.3428, allocations: 346.5 kB / 340.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3429, allocations: 11.88 kB / 340.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.082e-06/0.3429, allocations: 4 kB / 340.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3429, allocations: 0 / 340.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.3434, allocations: 103.9 kB / 340.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3435, allocations: 3.984 kB / 340.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3436, allocations: 8 kB / 340.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.3437, allocations: 16 kB / 340.5 MB, free: 12.58 MB / 298.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 0.0001365/0.3438, allocations: 132.9 kB / 340.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3439, allocations: 31.67 kB / 340.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.3441, allocations: 37.64 kB / 340.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.96e-06/0.3441, allocations: 4 kB / 340.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.3441, allocations: 0 / 340.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3441, allocations: 3.984 kB / 340.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.346, allocations: 0.9475 MB / 341.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.082e-06/0.346, allocations: 0 / 341.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.3466, allocations: 95.89 kB / 341.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.932e-06/0.3466, allocations: 4.062 kB / 341.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.3467, allocations: 16 kB / 341.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.199e-06/0.3467, allocations: 3.953 kB / 341.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.492e-06/0.3467, allocations: 4 kB / 341.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3478, allocations: 0.6678 MB / 342.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.348, allocations: 104.7 kB / 342.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.348, allocations: 12 kB / 342.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.3483, allocations: 8 kB / 342.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.3484, allocations: 27.95 kB / 342.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.3484, allocations: 12 kB / 342.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3486, allocations: 131.4 kB / 342.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3486, allocations: 4 kB / 342.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005315/0.3491, allocations: 76 kB / 342.8 MB, free: 10.12 MB / 298.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.0001747/0.3493, allocations: 119.1 kB / 342.9 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000622/0.35, allocations: 275.9 kB / 343.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.245e-06/0.35, allocations: 0 / 343.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.3503, allocations: 149.3 kB / 343.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.3508, allocations: 64.11 kB / 343.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.3527, allocations: 0.9179 MB / 344.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.3532, allocations: 0.7806 MB / 345.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.3534, allocations: 35.44 kB / 345.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3534, allocations: 0 / 345.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of Templates: time 0.007252/0.3606, allocations: 3.519 MB / 348.7 MB, free: 4.203 MB / 298.7 MB