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 2.026/2.026, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.378e-05, allocations: 0 / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3536, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003282/0.3569, allocations: 1.895 MB / 305.2 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.3578, allocations: 247.1 kB / 305.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.3581, allocations: 5.625 kB / 305.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.365e-05/0.3582, allocations: 31.98 kB / 305.5 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.3585, allocations: 97.38 kB / 305.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.3587, allocations: 41.19 kB / 305.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.3591, allocations: 171.2 kB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3593, allocations: 54.69 kB / 305.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3595, allocations: 79.16 kB / 305.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.3597, allocations: 108.5 kB / 306 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.3598, allocations: 14.41 kB / 306 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.3598, allocations: 13.7 kB / 306 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.3599, allocations: 39.59 kB / 306.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.36, allocations: 29 kB / 306.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.3604, allocations: 232.1 kB / 306.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.3604, allocations: 3.938 kB / 306.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3604, allocations: 0 / 306.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3604, allocations: 0 / 306.3 MB, free: 10.41 MB / 250.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.001098/0.3615, allocations: 0.5042 MB / 306.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3616, allocations: 9.906 kB / 306.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.3617, allocations: 27.88 kB / 306.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.3622, allocations: 245.3 kB / 307.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.3622, allocations: 18.41 kB / 307.1 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.3623, allocations: 33.03 kB / 307.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.363, allocations: 247 kB / 307.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.363, allocations: 5.188 kB / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.3631, allocations: 10.38 kB / 307.4 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3631, allocations: 6.938 kB / 307.4 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.3636, allocations: 178.7 kB / 307.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3652, allocations: 0.7497 MB / 308.3 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.366, allocations: 274.6 kB / 308.6 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.366, allocations: 4 kB / 308.6 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3661, allocations: 38.56 kB / 308.7 MB, free: 8.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 4.118e-06/0.3661, allocations: 0 / 308.7 MB, free: 8.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.004392/0.3705, allocations: 1.704 MB / 310.4 MB, free: 6.281 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.3706, allocations: 81.11 kB / 310.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.3709, allocations: 166.4 kB / 310.6 MB, free: 6.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.3709, allocations: 33.7 kB / 310.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3711, allocations: 195.1 kB / 310.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.3713, allocations: 177.4 kB / 311 MB, free: 5.605 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.3713, allocations: 12 kB / 311 MB, free: 5.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3715, allocations: 334.8 kB / 311.3 MB, free: 5.258 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.3718, allocations: 101.1 kB / 311.4 MB, free: 5.156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3722, allocations: 149.5 kB / 311.6 MB, free: 4.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.3725, allocations: 134.3 kB / 311.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3725, allocations: 0 / 311.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008855/0.3734, allocations: 362.7 kB / 312.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3735, allocations: 4 kB / 312.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3735, allocations: 4 kB / 312.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3735, allocations: 0 / 312.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.3743, allocations: 107.8 kB / 312.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3744, allocations: 0 / 312.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.3746, allocations: 15.94 kB / 312.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.3747, allocations: 16 kB / 312.2 MB, free: 4.363 MB / 250.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.0002423/0.3749, allocations: 149.7 kB / 312.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.375, allocations: 31.78 kB / 312.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3752, allocations: 41.86 kB / 312.4 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3752, allocations: 4 kB / 312.4 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.3752, allocations: 0 / 312.4 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.3752, allocations: 3.984 kB / 312.4 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.3774, allocations: 0.9556 MB / 313.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.3774, allocations: 3.953 kB / 313.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008737/0.3783, allocations: 99.89 kB / 313.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.3784, allocations: 4 kB / 313.5 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.3784, allocations: 12.06 kB / 313.5 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.3784, allocations: 8 kB / 313.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3785, allocations: 0 / 313.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3798, allocations: 0.6717 MB / 314.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3799, allocations: 104.8 kB / 314.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.38, allocations: 8 kB / 314.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.3803, allocations: 12 kB / 314.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.3804, allocations: 27.92 kB / 314.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.3805, allocations: 11.98 kB / 314.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.3806, allocations: 131.4 kB / 314.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3806, allocations: 0 / 314.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000523/0.3812, allocations: 80 kB / 314.6 MB, free: 1.875 MB / 250.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 (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.0001753/0.3814, allocations: 111.2 kB / 314.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.3822, allocations: 294.6 kB / 315 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3822, allocations: 0 / 315 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.3826, allocations: 152.6 kB / 315.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.3834, allocations: 64.3 kB / 315.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3861, allocations: 1.22 MB / 316.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3866, allocations: 0.7806 MB / 317.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3868, allocations: 31.44 kB / 317.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3868, allocations: 0 / 317.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Templates: time 0.009749/0.3966, allocations: 3.576 MB / 320.8 MB, free: 11.57 MB / 266.7 MB