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_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 1.829/1.829, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.964e-05, allocations: 0 / 273.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 48.69 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4563, allocations: 75.82 MB / 397.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.4566, allocations: 65.95 kB / 397.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03106/0.4876, allocations: 8.34 MB / 406 MB, free: 4.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4877, allocations: 0 / 406 MB, free: 4.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.4877, allocations: 11.66 kB / 406 MB, free: 4.117 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.0008522/0.4886, allocations: 0.6355 MB / 406.6 MB, free: 3.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4886, allocations: 7.688 kB / 406.6 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.4888, allocations: 58.02 kB / 406.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.4891, allocations: 293.5 kB / 407 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.4892, allocations: 35.66 kB / 407 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.4893, allocations: 56.72 kB / 407.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.4901, allocations: 414.7 kB / 407.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.4901, allocations: 11.73 kB / 407.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.4902, allocations: 19.22 kB / 407.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4902, allocations: 11.56 kB / 407.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.4908, allocations: 290.9 kB / 407.8 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.4927, allocations: 1.175 MB / 409 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007806/0.4935, allocations: 457.8 kB / 409.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.4938, allocations: 210.3 kB / 409.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.4939, allocations: 4.312 kB / 409.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.4939, allocations: 42.53 kB / 409.7 MB, free: 2.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 3.631e-06/0.4939, allocations: 0 / 409.7 MB, free: 2.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003229/0.4972, allocations: 2.003 MB / 411.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.4973, allocations: 89.53 kB / 411.8 MB, free: 17.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.4975, allocations: 217.4 kB / 412 MB, free: 16.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.4976, allocations: 37.36 kB / 412 MB, free: 16.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.4977, allocations: 263.4 kB / 412.3 MB, free: 16.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.4979, allocations: 264.8 kB / 412.5 MB, free: 16.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.4979, allocations: 18.03 kB / 412.5 MB, free: 16.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4981, allocations: 340.7 kB / 412.9 MB, free: 16.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.4985, allocations: 146 kB / 413 MB, free: 16.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.4988, allocations: 255.5 kB / 413.3 MB, free: 16.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.4992, allocations: 195.3 kB / 413.5 MB, free: 16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-06/0.4993, allocations: 4 kB / 413.5 MB, free: 16 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009572/0.5002, allocations: 0.5285 MB / 414 MB, free: 15.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5003, allocations: 3.906 kB / 414 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.725e-06/0.5003, allocations: 3.812 kB / 414 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5003, allocations: 7.719 kB / 414 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.501, allocations: 183.1 kB / 414.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.5011, allocations: 12.08 kB / 414.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.5014, allocations: 27.77 kB / 414.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.5015, allocations: 25.72 kB / 414.2 MB, free: 15.84 MB / 330.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.0001516/0.5017, allocations: 145.7 kB / 414.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5018, allocations: 46.5 kB / 414.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.5019, allocations: 59.64 kB / 414.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5019, allocations: 7.656 kB / 414.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.281e-06/0.502, allocations: 4 kB / 414.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.502, allocations: 7.938 kB / 414.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.5043, allocations: 1.421 MB / 415.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.535e-06/0.5044, allocations: 3.844 kB / 415.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.5052, allocations: 161.9 kB / 416.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.5052, allocations: 3.844 kB / 416.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.5053, allocations: 15.62 kB / 416.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.5053, allocations: 11.5 kB / 416.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-06/0.5053, allocations: 7.922 kB / 416.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.5068, allocations: 1.031 MB / 417.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.507, allocations: 131.4 kB / 417.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.5071, allocations: 17.62 kB / 417.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.5075, allocations: 20 kB / 417.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.5076, allocations: 53.42 kB / 417.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.5076, allocations: 23.17 kB / 417.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002143/0.5079, allocations: 172.6 kB / 417.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.98e-07/0.5079, allocations: 0 / 417.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006899/0.5086, allocations: 147.8 kB / 417.7 MB, free: 13.98 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.0001829/0.5088, allocations: 132.5 kB / 417.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007873/0.5096, allocations: 421.6 kB / 418.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.5e-06/0.5096, allocations: 0 / 418.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.51, allocations: 224.9 kB / 418.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.5108, allocations: 108.8 kB / 418.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.5138, allocations: 1.574 MB / 420.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.5144, allocations: 0.8585 MB / 421 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.5146, allocations: 45.97 kB / 421.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.97e-06/0.5146, allocations: 0 / 421.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of Templates: time 0.011/0.5256, allocations: 5.712 MB / 426.8 MB, free: 6.992 MB / 330.7 MB