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.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.406e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4448, allocations: 82.2 MB / 442 MB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4451, allocations: 71.91 kB / 442 MB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03454/0.4797, allocations: 8.343 MB / 450.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4797, allocations: 3.5 kB / 450.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.925e-05/0.4798, allocations: 12 kB / 450.4 MB, free: 6.355 MB / 378.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.001115/0.4809, allocations: 0.6269 MB / 451 MB, free: 5.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4809, allocations: 16.02 kB / 451 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.4811, allocations: 51.34 kB / 451.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.4816, allocations: 297.3 kB / 451.4 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.4816, allocations: 37 kB / 451.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.4817, allocations: 55.86 kB / 451.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/0.4827, allocations: 416.2 kB / 451.9 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.4827, allocations: 15.89 kB / 451.9 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.4828, allocations: 20 kB / 451.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.4828, allocations: 12 kB / 451.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007047/0.4835, allocations: 290 kB / 452.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.4859, allocations: 1.16 MB / 453.4 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009454/0.4869, allocations: 471.3 kB / 453.8 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.4873, allocations: 199 kB / 454 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.4873, allocations: 4.469 kB / 454 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4874, allocations: 50.28 kB / 454.1 MB, free: 2.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.741e-06/0.4874, allocations: 0 / 454.1 MB, free: 2.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003877/0.4913, allocations: 1.977 MB / 456 MB, free: 332 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.4914, allocations: 85.67 kB / 456.1 MB, free: 228 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.4918, allocations: 220.2 kB / 456.3 MB, free: 4 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/0.4918, allocations: 41.7 kB / 456.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.492, allocations: 263.4 kB / 456.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.4923, allocations: 272 kB / 456.9 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.4924, allocations: 16 kB / 456.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4926, allocations: 342.8 kB / 457.3 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.4929, allocations: 145.6 kB / 457.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.4934, allocations: 257.3 kB / 457.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.4939, allocations: 198.9 kB / 457.8 MB, free: 14.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.95e-06/0.494, allocations: 4 kB / 457.8 MB, free: 14.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001153/0.4951, allocations: 0.5309 MB / 458.4 MB, free: 13.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4952, allocations: 8 kB / 458.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4952, allocations: 4 kB / 458.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.4952, allocations: 8.031 kB / 458.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.496, allocations: 175.8 kB / 458.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/0.4961, allocations: 16.22 kB / 458.6 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.4965, allocations: 20 kB / 458.6 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.4966, allocations: 28 kB / 458.6 MB, free: 13.64 MB / 394.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.000174/0.4967, allocations: 148.8 kB / 458.8 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4969, allocations: 55.33 kB / 458.8 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.497, allocations: 55.64 kB / 458.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.322e-06/0.4971, allocations: 7.938 kB / 458.9 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.177e-06/0.4971, allocations: 8 kB / 458.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4971, allocations: 3.984 kB / 458.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.4999, allocations: 1.434 MB / 460.3 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.058e-06/0.5, allocations: 0 / 460.3 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/0.5009, allocations: 159.8 kB / 460.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/0.5009, allocations: 7.984 kB / 460.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.501, allocations: 20 kB / 460.5 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.501, allocations: 8 kB / 460.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/0.5011, allocations: 7.938 kB / 460.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.5027, allocations: 1.033 MB / 461.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.5029, allocations: 116.5 kB / 461.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.503, allocations: 23.98 kB / 461.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.5035, allocations: 20 kB / 461.7 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.5036, allocations: 44.33 kB / 461.8 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.5036, allocations: 24 kB / 461.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.5039, allocations: 171.1 kB / 462 MB, free: 10.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.5039, allocations: 0 / 462 MB, free: 10.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007315/0.5046, allocations: 148 kB / 462.1 MB, free: 9.902 MB / 394.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.0002018/0.5048, allocations: 131 kB / 462.2 MB, free: 9.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009269/0.5058, allocations: 426.9 kB / 462.7 MB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.959e-06/0.5058, allocations: 0 / 462.7 MB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.5063, allocations: 225.4 kB / 462.9 MB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.5071, allocations: 115.1 kB / 463 MB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.5103, allocations: 1.562 MB / 464.5 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.5109, allocations: 0.8605 MB / 465.4 MB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.5111, allocations: 43.44 kB / 465.5 MB, free: 6.465 MB / 394.7 MB Notification: Performance of SimCode: time 1.755e-06/0.5112, allocations: 4 kB / 465.5 MB, free: 6.461 MB / 394.7 MB Notification: Performance of Templates: time 0.01109/0.5223, allocations: 5.73 MB / 471.2 MB, free: 0.7461 MB / 394.7 MB