Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.866e-05, allocations: 6.391 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08538, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4371, allocations: 75.83 MB / 397.6 MB, free: 7.473 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.4373, allocations: 65.83 kB / 397.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03134/0.4687, allocations: 8.348 MB / 406 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4687, allocations: 0 / 406 MB, free: 4.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.4688, allocations: 15.16 kB / 406 MB, free: 4.875 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008817/0.4697, allocations: 0.6289 MB / 406.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4697, allocations: 7.875 kB / 406.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.4698, allocations: 62.2 kB / 406.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.4702, allocations: 290.4 kB / 407 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.4702, allocations: 34.81 kB / 407 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.4703, allocations: 57.31 kB / 407.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.4711, allocations: 406.7 kB / 407.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.4712, allocations: 15.62 kB / 407.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.4712, allocations: 18.78 kB / 407.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.4712, allocations: 11.53 kB / 407.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.4719, allocations: 294.7 kB / 407.8 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.4737, allocations: 1.168 MB / 409 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.4745, allocations: 467.2 kB / 409.5 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.4749, allocations: 204.6 kB / 409.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.4749, allocations: 8.062 kB / 409.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4749, allocations: 41.97 kB / 409.7 MB, free: 3.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.028e-05/0.475, allocations: 3.812 kB / 409.7 MB, free: 3.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003128/0.4781, allocations: 1.987 MB / 411.7 MB, free: 1.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4782, allocations: 85.33 kB / 411.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.4784, allocations: 222 kB / 412 MB, free: 1.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.4785, allocations: 40.23 kB / 412 MB, free: 1.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4786, allocations: 212.1 kB / 412.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.4788, allocations: 263.3 kB / 412.5 MB, free: 1.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.4788, allocations: 18.72 kB / 412.5 MB, free: 1.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.4789, allocations: 350.8 kB / 412.9 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.4792, allocations: 151.1 kB / 413 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.4796, allocations: 252.7 kB / 413.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.48, allocations: 197.2 kB / 413.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.48, allocations: 3.844 kB / 413.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009942/0.481, allocations: 0.5508 MB / 414 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4811, allocations: 11.7 kB / 414 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.244e-06/0.4811, allocations: 0 / 414 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.4811, allocations: 11.69 kB / 414 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.4819, allocations: 179.6 kB / 414.2 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.4819, allocations: 11.64 kB / 414.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.4822, allocations: 26.27 kB / 414.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.4823, allocations: 28 kB / 414.3 MB, free: 0.6484 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001176/0.4824, allocations: 148.2 kB / 414.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4826, allocations: 46.59 kB / 414.4 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.4827, allocations: 53.33 kB / 414.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.461e-06/0.4827, allocations: 7.625 kB / 414.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.685e-06/0.4827, allocations: 3.844 kB / 414.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4827, allocations: 7.938 kB / 414.5 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.4851, allocations: 1.431 MB / 416 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4851, allocations: 3.781 kB / 416 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.4859, allocations: 158 kB / 416.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.4859, allocations: 7 kB / 416.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.486, allocations: 19.91 kB / 416.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.486, allocations: 11.62 kB / 416.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.728e-06/0.486, allocations: 7.797 kB / 416.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.4874, allocations: 1.028 MB / 417.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4876, allocations: 116.1 kB / 417.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.4877, allocations: 21.03 kB / 417.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.4881, allocations: 15 kB / 417.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.4882, allocations: 57.64 kB / 417.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.4882, allocations: 22.34 kB / 417.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.4884, allocations: 176.2 kB / 417.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4884, allocations: 0 / 417.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006948/0.4891, allocations: 143.6 kB / 417.7 MB, free: 14.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001766/0.4893, allocations: 128.1 kB / 417.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007716/0.4901, allocations: 427.7 kB / 418.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.781e-06/0.4901, allocations: 0 / 418.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.4905, allocations: 227.4 kB / 418.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.4913, allocations: 109.1 kB / 418.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.4942, allocations: 1.534 MB / 420.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.4949, allocations: 0.8597 MB / 421 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.4951, allocations: 54.84 kB / 421 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4953, allocations: 45.84 kB / 421.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of SimCode: time 4.493e-06/0.4953, allocations: 0 / 421.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of Templates: time 0.01426/0.5096, allocations: 4.791 MB / 425.9 MB, free: 8.047 MB / 330.7 MB