Running command: translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="ground.1,1..p.i|ground.1,1..p.v|ground.1,2..p.i|ground.1,2..p.v|ground.2,1..p.i|ground.2,1..p.v|ground.2,2..p.i|ground.2,2..p.v|ground.3,1..p.i|ground.3,1..p.v|ground.3,2..p.i|ground.3,2..p.v|ground.4,1..p.i|ground.4,1..p.v|ground.4,2..p.i|ground.4,2..p.v|ground.40,40..p.i|ground.40,40..p.v|load.1,1..LossPower|load.1,1..R_actual|load.1,1..i|load.1,1..n.i|load.1,1..n.v|load.1,1..p.i|load.1,1..p.v|load.1,1..v|load.1,2..LossPower|load.1,2..R_actual|load.1,2..i|load.1,2..n.i|load.1,2..n.v|load.1,2..p.i|load.1,2..p.v|load.1,2..v|load.2,1..LossPower|load.2,1..R_actual|load.2,1..i|load.2,1..n.i|load.2,1..n.v|load.2,1..p.i|load.2,1..p.v|load.2,1..v|load.2,2..LossPower|load.2,2..R_actual|load.2,2..i|load.2,2..n.i|load.2,2..n.v|load.2,2..p.i|load.2,2..p.v|load.2,2..v|load.3,1..LossPower|load.3,1..R_actual|load.3,1..i|load.3,1..n.i|load.3,1..n.v|load.3,1..p.i|load.3,1..p.v|load.3,1..v|load.3,2..LossPower|load.3,2..R_actual|load.3,2..i|load.3,2..n.i|load.3,2..n.v|load.3,2..p.i|load.3,2..p.v|load.3,2..v|load.4,1..LossPower|load.4,1..R_actual|load.4,1..i|load.4,1..n.i|load.4,1..n.v|load.4,1..p.i|load.4,1..p.v|load.4,1..v|load.4,2..LossPower|load.4,2..R_actual|load.4,2..i|load.4,2..n.i|load.4,2..n.v|load.4,2..p.i|load.4,2..p.v|load.4,2..v|load.40,39..v|load.40,40..LossPower|load.40,40..R_actual|load.40,40..i|load.40,40..n.i|load.40,40..n.v|load.40,40..p.i|load.40,40..p.v|load.40,40..v|primary.1..n.v|primary.2..n.v|primary.3..n.v|primary.4..n.v|secondary.1,1..LossPower|secondary.1,1..R_actual|secondary.1,1..i|secondary.1,1..n.i|secondary.1,1..n.v|secondary.1,1..p.i|secondary.1,1..p.v|secondary.1,1..v|secondary.1,2..LossPower|secondary.1,2..R_actual|secondary.1,2..i|secondary.1,2..n.i|secondary.1,2..n.v|secondary.1,2..p.i|secondary.1,2..p.v|secondary.1,2..v|secondary.2,1..LossPower|secondary.2,1..R_actual|secondary.2,1..i|secondary.2,1..n.i|secondary.2,1..n.v|secondary.2,1..p.i|secondary.2,1..p.v|secondary.2,1..v|secondary.2,2..LossPower|secondary.2,2..R_actual|secondary.2,2..i|secondary.2,2..n.i|secondary.2,2..n.v|secondary.2,2..p.i|secondary.2,2..p.v|secondary.2,2..v|secondary.3,1..LossPower|secondary.3,1..R_actual|secondary.3,1..i|secondary.3,1..n.i|secondary.3,1..n.v|secondary.3,1..p.i|secondary.3,1..p.v|secondary.3,1..v|secondary.3,2..LossPower|secondary.3,2..R_actual|secondary.3,2..i|secondary.3,2..n.i|secondary.3,2..n.v|secondary.3,2..p.i|secondary.3,2..p.v|secondary.3,2..v|secondary.4,1..LossPower|secondary.4,1..R_actual|secondary.4,1..i|secondary.4,1..n.i|secondary.4,1..n.v|secondary.4,1..p.i|secondary.4,1..p.v|secondary.4,1..v|secondary.4,2..LossPower|secondary.4,2..R_actual|secondary.4,2..i|secondary.4,2..n.i|secondary.4,2..n.v|secondary.4,2..p.i|secondary.4,2..p.v|secondary.4,2..v|secondary.40,40..LossPower|secondary.40,40..R_actual|secondary.40,40..i|secondary.40,40..n.i|secondary.40,40..n.v|secondary.40,40..p.i|secondary.40,40..p.v|secondary.40,40..v|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40") Notification: Performance of loadModel(ScalableTestSuite): time 2.911/2.911, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.176e-05, allocations: 4 kB / 422.2 MB, free: 0.6211 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 80.01 MB / 0.4905 GB, free: 0.5078 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5405/0.6715, allocations: 127.6 MB / 0.6151 GB, free: 9.332 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.6717, allocations: 62.97 kB / 0.6151 GB, free: 9.301 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 15.54/16.21, allocations: 2.643 GB / 3.258 GB, free: 82.02 MB / 0.8859 GB Notification: Performance of FrontEnd: time 2.089e-06/16.21, allocations: 0 / 3.258 GB, free: 82.02 MB / 0.8859 GB Notification: Performance of Transformations before backend: time 0.02276/16.24, allocations: 3.488 MB / 3.262 GB, free: 81.62 MB / 0.8859 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32969 * Number of variables: 32969 Notification: Performance of Generate backend data structure: time 2.197/18.43, allocations: 167.9 MB / 3.426 GB, free: 19.44 MB / 0.8864 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/18.43, allocations: 9.062 kB / 3.426 GB, free: 19.44 MB / 0.8864 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07827/18.51, allocations: 16.17 MB / 3.441 GB, free: 11.67 MB / 0.8864 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2685/18.78, allocations: 81.41 MB / 3.521 GB, free: 13.72 MB / 0.902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01282/18.79, allocations: 9.331 MB / 3.53 GB, free: 13.47 MB / 0.902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04948/18.84, allocations: 12.15 MB / 3.542 GB, free: 13.45 MB / 0.902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5854/19.43, allocations: 193.1 MB / 3.73 GB, free: 15.96 MB / 0.9801 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0057/19.43, allocations: 0 / 3.73 GB, free: 15.96 MB / 0.9801 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.05129/19.48, allocations: 5.624 MB / 3.736 GB, free: 10.34 MB / 0.9801 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003181/19.49, allocations: 3.02 MB / 3.739 GB, free: 7.324 MB / 0.9801 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004/21.49, allocations: 196.1 MB / 3.93 GB, free: 170.8 MB / 1.012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.633/24.12, allocations: 0.619 GB / 4.549 GB, free: 54.93 MB / 1.044 GB Notification: Performance of preOpt comSubExp (simulation): time 1.35/25.47, allocations: 193.6 MB / 4.738 GB, free: 99.61 MB / 1.044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1731/25.65, allocations: 84.7 MB / 4.821 GB, free: 75.12 MB / 1.044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007956/25.65, allocations: 0.9803 MB / 4.822 GB, free: 75.04 MB / 1.044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002693/25.66, allocations: 1.825 MB / 4.824 GB, free: 73.9 MB / 1.044 GB Notification: Performance of pre-optimization done (n=9880): time 0.000504/25.66, allocations: 0 / 4.824 GB, free: 73.9 MB / 1.044 GB Notification: Performance of matching and sorting (n=9880): time 0.516/26.17, allocations: 190.6 MB / 5.01 GB, free: 28.86 MB / 1.044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008437/26.17, allocations: 1.031 MB / 5.011 GB, free: 28.72 MB / 1.044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.145/27.32, allocations: 123.8 MB / 5.132 GB, free: 144 MB / 1.044 GB Notification: Performance of collectPreVariables (initialization): time 0.02379/27.34, allocations: 2.137 MB / 5.134 GB, free: 144 MB / 1.044 GB Notification: Performance of collectInitialEqns (initialization): time 0.07211/27.42, allocations: 61.96 MB / 5.195 GB, free: 113.3 MB / 1.044 GB Notification: Performance of collectInitialBindings (initialization): time 0.04471/27.46, allocations: 33.74 MB / 5.228 GB, free: 87.29 MB / 1.044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0243/27.49, allocations: 2.267 MB / 5.23 GB, free: 85.47 MB / 1.044 GB Notification: Performance of setup shared object (initialization): time 0.01339/27.5, allocations: 5.541 MB / 5.235 GB, free: 83.09 MB / 1.044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1695/27.67, allocations: 79.37 MB / 5.313 GB, free: 65.64 MB / 1.044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102/28.77, allocations: 99.34 MB / 5.41 GB, free: 131.3 MB / 1.044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2084/28.98, allocations: 96.53 MB / 5.504 GB, free: 129.8 MB / 1.044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001169/28.98, allocations: 101.4 kB / 5.504 GB, free: 129.8 MB / 1.044 GB Notification: Performance of matching and sorting (n=14841) (initialization): time 0.6758/29.65, allocations: 264.6 MB / 5.762 GB, free: 49.01 MB / 1.044 GB Notification: Performance of prepare postOptimizeDAE: time 0.001865/29.66, allocations: 241.5 kB / 5.763 GB, free: 49.01 MB / 1.044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002574/29.66, allocations: 0.5265 MB / 5.763 GB, free: 49.01 MB / 1.044 GB Notification: Tearing is skipped for strong component 1 because system size of 6519 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/29.66, allocations: 1.059 MB / 5.764 GB, free: 49.01 MB / 1.044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.009/30.67, allocations: 19.48 MB / 5.783 GB, free: 121.5 MB / 1.044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/30.67, allocations: 0.8783 MB / 5.784 GB, free: 121.3 MB / 1.044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1985/30.87, allocations: 29.31 MB / 5.813 GB, free: 119.7 MB / 1.044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.03236/30.91, allocations: 3.671 MB / 5.816 GB, free: 119.7 MB / 1.044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1642 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8323): * Single equations (assignments): 8322 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6519,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.05752/30.96, allocations: 5.86 MB / 5.822 GB, free: 118.4 MB / 1.044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.06045/31.02, allocations: 11.36 MB / 5.833 GB, free: 113 MB / 1.044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05561/31.08, allocations: 17.64 MB / 5.85 GB, free: 111.9 MB / 1.044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008829/31.08, allocations: 0.9058 MB / 5.851 GB, free: 111.9 MB / 1.044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001813/31.08, allocations: 0.8947 MB / 5.852 GB, free: 111.9 MB / 1.044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002485/31.08, allocations: 464.4 kB / 5.853 GB, free: 111.9 MB / 1.044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3616/31.45, allocations: 125.1 MB / 5.975 GB, free: 98.24 MB / 1.044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008451/31.45, allocations: 0 / 5.975 GB, free: 98.24 MB / 1.044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04504/31.49, allocations: 8.513 MB / 5.983 GB, free: 97.54 MB / 1.044 GB Notification: Tearing is skipped for strong component 2 because system size of 6519 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/31.49, allocations: 106.6 kB / 5.983 GB, free: 97.54 MB / 1.044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01734/31.51, allocations: 1.569 MB / 5.985 GB, free: 96.32 MB / 1.044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004659/31.51, allocations: 105 kB / 5.985 GB, free: 96.32 MB / 1.044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.423e-06/31.51, allocations: 3.938 kB / 5.985 GB, free: 96.32 MB / 1.044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.868/33.38, allocations: 288.2 MB / 6.266 GB, free: 112.9 MB / 1.044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.07091/33.45, allocations: 17.75 MB / 6.284 GB, free: 108.9 MB / 1.044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.05668/33.51, allocations: 1.564 MB / 6.285 GB, free: 108.9 MB / 1.044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2184/33.72, allocations: 37.6 MB / 6.322 GB, free: 106.1 MB / 1.044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.03386/33.76, allocations: 11.28 MB / 6.333 GB, free: 105.8 MB / 1.044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02673/33.79, allocations: 2.811 MB / 6.336 GB, free: 105.8 MB / 1.044 GB Notification: Performance of sorting global known variables: time 0.2227/34.01, allocations: 92.51 MB / 6.426 GB, free: 82.09 MB / 1.044 GB Notification: Performance of sort global known variables: time 1.366e-06/34.01, allocations: 0 / 6.426 GB, free: 82.09 MB / 1.044 GB Notification: Performance of remove unused functions: time 0.1685/34.18, allocations: 43.57 MB / 6.468 GB, free: 71.08 MB / 1.044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y,activeLoad[21].firstOrder1.y,activeLoad[21].firstOrder2.y,activeLoad[22].firstOrder1.y,activeLoad[22].firstOrder2.y,activeLoad[23].firstOrder1.y,activeLoad[23].firstOrder2.y,activeLoad[24].firstOrder1.y,activeLoad[24].firstOrder2.y,activeLoad[25].firstOrder1.y,activeLoad[25].firstOrder2.y,activeLoad[26].firstOrder1.y,activeLoad[26].firstOrder2.y,activeLoad[27].firstOrder1.y,activeLoad[27].firstOrder2.y,activeLoad[28].firstOrder1.y,activeLoad[28].firstOrder2.y,activeLoad[29].firstOrder1.y,activeLoad[29].firstOrder2.y,activeLoad[30].firstOrder1.y,activeLoad[30].firstOrder2.y,activeLoad[31].firstOrder1.y,activeLoad[31].firstOrder2.y,activeLoad[32].firstOrder1.y,activeLoad[32].firstOrder2.y,activeLoad[33].firstOrder1.y,activeLoad[33].firstOrder2.y,activeLoad[34].firstOrder1.y,activeLoad[34].firstOrder2.y,activeLoad[35].firstOrder1.y,activeLoad[35].firstOrder2.y,activeLoad[36].firstOrder1.y,activeLoad[36].firstOrder2.y,activeLoad[37].firstOrder1.y,activeLoad[37].firstOrder2.y,activeLoad[38].firstOrder1.y,activeLoad[38].firstOrder2.y,activeLoad[39].firstOrder1.y,activeLoad[39].firstOrder2.y,activeLoad[40].firstOrder1.y,activeLoad[40].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3362): * Single equations (assignments): 3361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6519,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03385/34.21, allocations: 3.399 MB / 6.472 GB, free: 67.67 MB / 1.044 GB Notification: Performance of simCode: created initialization part: time 1.249/35.46, allocations: 173.4 MB / 6.641 GB, free: 142.5 MB / 1.044 GB Notification: Performance of simCode: created event and clocks part: time 0.0001817/35.46, allocations: 229 kB / 6.641 GB, free: 142.5 MB / 1.044 GB Notification: Performance of simCode: created simulation system equations: time 0.2074/35.67, allocations: 76.5 MB / 6.716 GB, free: 138.1 MB / 1.044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1908/35.86, allocations: 28.98 MB / 6.744 GB, free: 130.2 MB / 1.044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.881/37.74, allocations: 311.1 MB / 7.048 GB, free: 65.04 MB / 1.044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.284/38.02, allocations: 89.22 MB / 7.135 GB, free: 58.71 MB / 1.044 GB Notification: Performance of simCode: alias equations: time 0.2279/38.25, allocations: 55.63 MB / 7.19 GB, free: 51.28 MB / 1.044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04026/38.29, allocations: 4.759 MB / 7.194 GB, free: 51.27 MB / 1.044 GB Notification: Performance of SimCode: time 3.374e-06/38.29, allocations: 3.125 kB / 7.194 GB, free: 51.27 MB / 1.044 GB Notification: Performance of Templates: time 8.564/46.86, allocations: 1.631 GB / 8.826 GB, free: 125.4 MB / 1.2 GB