Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.249e-05, allocations: 0 / 304.9 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3746, allocations: 54.86 MB / 359.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.554, allocations: 80 MB / 439.8 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5543, allocations: 67.95 kB / 439.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009713/0.564, allocations: 2.529 MB / 442.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.564, allocations: 0 / 442.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5641, allocations: 8 kB / 442.4 MB, free: 14.39 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005751/0.5646, allocations: 415.5 kB / 442.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5647, allocations: 12.03 kB / 442.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.5648, allocations: 23.67 kB / 442.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.565, allocations: 179.8 kB / 443 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.565, allocations: 12.33 kB / 443 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.5651, allocations: 20 kB / 443 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.5654, allocations: 165.3 kB / 443.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5655, allocations: 3.906 kB / 443.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.5655, allocations: 8 kB / 443.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.785e-06/0.5655, allocations: 4 kB / 443.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.5657, allocations: 83.88 kB / 443.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.5669, allocations: 0.6074 MB / 443.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.5672, allocations: 133.1 kB / 444 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.5673, allocations: 53.72 kB / 444.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5673, allocations: 0 / 444.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.5674, allocations: 38.69 kB / 444.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.376e-06/0.5674, allocations: 0 / 444.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000501/0.5679, allocations: 147.2 kB / 444.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.568, allocations: 85.05 kB / 444.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.5681, allocations: 122.5 kB / 444.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.5682, allocations: 25.7 kB / 444.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.5683, allocations: 136 kB / 444.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.5683, allocations: 56.05 kB / 444.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-06/0.5684, allocations: 0 / 444.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5685, allocations: 330.8 kB / 445 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.5686, allocations: 35.86 kB / 445 MB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.5688, allocations: 103.6 kB / 445.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.569, allocations: 56.48 kB / 445.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.569, allocations: 1.031 kB / 445.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005207/0.5695, allocations: 211.1 kB / 445.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5695, allocations: 4 kB / 445.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.5696, allocations: 7.953 kB / 445.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/0.5698, allocations: 49.08 kB / 445.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.57, allocations: 37.48 kB / 445.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.5731, allocations: 2.708 MB / 448.2 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.5733, allocations: 15.88 kB / 448.2 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.5733, allocations: 16 kB / 448.2 MB, free: 7.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.5734, allocations: 121 kB / 448.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.5735, allocations: 11.91 kB / 448.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.5736, allocations: 16.61 kB / 448.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.456e-06/0.5736, allocations: 4 kB / 448.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.682e-06/0.5736, allocations: 0 / 448.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.993e-06/0.5736, allocations: 0 / 448.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.5741, allocations: 245.4 kB / 448.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.525e-06/0.5741, allocations: 0 / 448.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.5743, allocations: 23.98 kB / 448.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.5746, allocations: 49.7 kB / 448.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.5746, allocations: 0 / 448.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/0.5775, allocations: 2.701 MB / 451.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.285e-06/0.5775, allocations: 5.094 kB / 451.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.5782, allocations: 392 kB / 451.8 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.5782, allocations: 85.02 kB / 451.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5783, allocations: 128 / 451.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.5785, allocations: 16.06 kB / 451.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.5785, allocations: 7.984 kB / 451.9 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5785, allocations: 4 kB / 451.9 MB, free: 3.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.345e-05/0.5786, allocations: 101.9 kB / 452 MB, free: 3.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.5786, allocations: 0.8438 kB / 452 MB, free: 3.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006355/0.5793, allocations: 55.84 kB / 452.1 MB, free: 3.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.5795, allocations: 103.2 kB / 452.2 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.5801, allocations: 337 kB / 452.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.078e-06/0.5801, allocations: 0 / 452.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.5806, allocations: 264.1 kB / 452.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.581, allocations: 35.92 kB / 452.8 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.5821, allocations: 0.5773 MB / 453.4 MB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.5826, allocations: 0.7243 MB / 454.1 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.011e-05/0.5827, allocations: 17.2 kB / 454.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.5827, allocations: 11.44 kB / 454.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of SimCode: time 1.704e-06/0.5827, allocations: 0 / 454.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of Templates: time 0.007804/0.5905, allocations: 1.74 MB / 455.8 MB, free: 15.91 MB / 394.7 MB