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_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.161e-05, allocations: 4 kB / 304.9 MB, free: 5.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3709, allocations: 54.84 MB / 359.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4991, allocations: 82.21 MB / 442 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4994, allocations: 75.94 kB / 442.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03513/0.5346, allocations: 8.344 MB / 450.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.297e-06/0.5346, allocations: 0 / 450.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.612e-05/0.5347, allocations: 12 kB / 450.4 MB, free: 6.316 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.001143/0.5358, allocations: 0.6308 MB / 451 MB, free: 5.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5359, allocations: 8.031 kB / 451.1 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.536, allocations: 55.34 kB / 451.1 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.5365, allocations: 297.4 kB / 451.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.5365, allocations: 33 kB / 451.4 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.5367, allocations: 63.84 kB / 451.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/0.5376, allocations: 408.3 kB / 451.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.5377, allocations: 11.91 kB / 451.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.5377, allocations: 16 kB / 451.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.5378, allocations: 12 kB / 451.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.5385, allocations: 297.9 kB / 452.2 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.5408, allocations: 1.156 MB / 453.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.5418, allocations: 474.2 kB / 453.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.5422, allocations: 203 kB / 454 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.5423, allocations: 7.719 kB / 454 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.5423, allocations: 42.94 kB / 454.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.745e-06/0.5424, allocations: 0 / 454.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003911/0.5463, allocations: 1.995 MB / 456.1 MB, free: 280 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.5464, allocations: 85.67 kB / 456.2 MB, free: 176 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.5467, allocations: 215.4 kB / 456.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.5468, allocations: 41.7 kB / 456.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.547, allocations: 213 kB / 456.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.5473, allocations: 264.1 kB / 456.9 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.5473, allocations: 16 kB / 456.9 MB, free: 15.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.5475, allocations: 358.8 kB / 457.3 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.5479, allocations: 145.6 kB / 457.4 MB, free: 14.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.5484, allocations: 261.2 kB / 457.6 MB, free: 14.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.5489, allocations: 195 kB / 457.8 MB, free: 14.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.5489, allocations: 0 / 457.8 MB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001212/0.5502, allocations: 0.5502 MB / 458.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.5502, allocations: 9.719 kB / 458.4 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5502, allocations: 8.281 kB / 458.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.5503, allocations: 4 kB / 458.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.5511, allocations: 183.7 kB / 458.6 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.5511, allocations: 8 kB / 458.6 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.5515, allocations: 20 kB / 458.6 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.5516, allocations: 24 kB / 458.6 MB, free: 13.62 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.0001813/0.5518, allocations: 148.7 kB / 458.8 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5519, allocations: 59.38 kB / 458.8 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.5521, allocations: 51.66 kB / 458.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.732e-06/0.5521, allocations: 7.938 kB / 458.9 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.5522, allocations: 7.984 kB / 458.9 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.5522, allocations: 0 / 458.9 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.555, allocations: 1.434 MB / 460.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.149e-06/0.555, allocations: 0 / 460.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/0.556, allocations: 159.8 kB / 460.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.556, allocations: 4 kB / 460.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.5561, allocations: 24.33 kB / 460.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/0.5561, allocations: 12 kB / 460.5 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.965e-06/0.5561, allocations: 4 kB / 460.5 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.5578, allocations: 1.028 MB / 461.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.558, allocations: 120.5 kB / 461.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.5581, allocations: 28.05 kB / 461.7 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.5585, allocations: 16 kB / 461.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.5586, allocations: 52.27 kB / 461.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.5587, allocations: 20 kB / 461.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002378/0.5589, allocations: 171.1 kB / 462 MB, free: 10.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.5589, allocations: 4 kB / 462 MB, free: 10.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007425/0.5597, allocations: 148 kB / 462.1 MB, free: 9.879 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.0002013/0.5599, allocations: 131 kB / 462.2 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009517/0.5609, allocations: 423 kB / 462.7 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.765e-06/0.5609, allocations: 0 / 462.7 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.5614, allocations: 226.6 kB / 462.9 MB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.5622, allocations: 106.8 kB / 463 MB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.5653, allocations: 1.54 MB / 464.5 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.566, allocations: 0.8527 MB / 465.4 MB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.5663, allocations: 60.66 kB / 465.4 MB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.5665, allocations: 43.44 kB / 465.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of SimCode: time 4.304e-06/0.5665, allocations: 0 / 465.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of Templates: time 0.01431/0.5808, allocations: 4.794 MB / 470.3 MB, free: 1.664 MB / 394.7 MB