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.932/1.932, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.298e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2524, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.3637, allocations: 71.02 MB / 365.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.364, allocations: 67.91 kB / 365.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02146/0.3854, allocations: 4.41 MB / 369.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.764e-06/0.3855, allocations: 0 / 369.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.3855, allocations: 4 kB / 369.6 MB, free: 6.465 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.001236/0.3868, allocations: 0.4907 MB / 370.1 MB, free: 5.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.3869, allocations: 12.03 kB / 370.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.387, allocations: 31.62 kB / 370.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.3875, allocations: 230.6 kB / 370.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.3876, allocations: 8 kB / 370.4 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3877, allocations: 23.91 kB / 370.4 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007662/0.3885, allocations: 153.1 kB / 370.6 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.3894, allocations: 213.4 kB / 370.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.3894, allocations: 0 / 370.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.3895, allocations: 7.938 kB / 370.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.3896, allocations: 8 kB / 370.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.3919, allocations: 0.7034 MB / 371.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008954/0.3928, allocations: 245.1 kB / 371.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.3933, allocations: 109.7 kB / 371.8 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.3934, allocations: 4.625 kB / 371.8 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.3934, allocations: 36 kB / 371.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 5.671e-06/0.3935, allocations: 0 / 371.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.00537/0.3988, allocations: 1.49 MB / 373.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.399, allocations: 89.09 kB / 373.4 MB, free: 2.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.3993, allocations: 141.9 kB / 373.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.3994, allocations: 25.7 kB / 373.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3996, allocations: 203.3 kB / 373.8 MB, free: 1.883 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.3999, allocations: 169.4 kB / 374 MB, free: 1.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.3999, allocations: 0 / 374 MB, free: 1.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.4002, allocations: 338.8 kB / 374.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.4007, allocations: 85.12 kB / 374.4 MB, free: 1.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.4014, allocations: 140.4 kB / 374.5 MB, free: 1.137 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.4021, allocations: 110.3 kB / 374.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.68e-06/0.4022, allocations: 0 / 374.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001573/0.4038, allocations: 302.5 kB / 374.9 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.4038, allocations: 8 kB / 374.9 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4039, allocations: 0 / 374.9 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/0.4039, allocations: 8.062 kB / 374.9 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.4052, allocations: 103.8 kB / 375 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/0.4052, allocations: 4 kB / 375 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.4056, allocations: 0 / 375 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.4057, allocations: 19.98 kB / 375.1 MB, free: 0.5898 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 0.0002815/0.406, allocations: 117.1 kB / 375.2 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.4063, allocations: 35.62 kB / 375.2 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.4065, allocations: 29.95 kB / 375.2 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.4066, allocations: 4 kB / 375.2 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.4066, allocations: 4 kB / 375.2 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.4067, allocations: 0 / 375.2 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.4106, allocations: 0.8585 MB / 376.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4107, allocations: 0 / 376.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.4121, allocations: 99.83 kB / 376.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.018e-05/0.4123, allocations: 11.95 kB / 376.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/0.4124, allocations: 4 kB / 376.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.4124, allocations: 0 / 376.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.4125, allocations: 7.938 kB / 376.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.4138, allocations: 0.6297 MB / 376.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4139, allocations: 96.83 kB / 377 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/0.4139, allocations: 0 / 377 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4142, allocations: 7.938 kB / 377 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.4143, allocations: 31.95 kB / 377 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.4143, allocations: 12 kB / 377 MB, free: 14.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.4144, allocations: 115.2 kB / 377.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.4145, allocations: 0 / 377.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005324/0.415, allocations: 67.95 kB / 377.2 MB, free: 14.35 MB / 330.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.0001717/0.4152, allocations: 99.19 kB / 377.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.4158, allocations: 266.9 kB / 377.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.18e-06/0.4158, allocations: 0 / 377.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.4161, allocations: 151.5 kB / 377.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.4167, allocations: 38.89 kB / 377.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.4185, allocations: 0.8961 MB / 378.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.4191, allocations: 0.7842 MB / 379.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4192, allocations: 31.44 kB / 379.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.73e-06/0.4192, allocations: 0 / 379.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of Templates: time 0.0073/0.4265, allocations: 3.471 MB / 382.9 MB, free: 8.551 MB / 330.7 MB