Running command: translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,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.20,20..p.i|ground.20,20..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|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.20,19..v|load.20,20..LossPower|load.20,20..R_actual|load.20,20..i|load.20,20..n.i|load.20,20..n.v|load.20,20..p.i|load.20,20..p.v|load.20,20..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|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.20,20..LossPower|secondary.20,20..R_actual|secondary.20,20..i|secondary.20,20..n.i|secondary.20,20..n.v|secondary.20,20..p.i|secondary.20,20..p.v|secondary.20,20..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|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20") Notification: Performance of loadModel(ScalableTestSuite): time 2.871/2.871, allocations: 326.3 MB / 339.3 MB, free: 11.28 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.342e-05, allocations: 11.98 kB / 422.2 MB, free: 0.6289 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 80 MB / 0.4905 GB, free: 0.5156 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5233/0.6522, allocations: 127.6 MB / 0.6151 GB, free: 9.277 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.6524, allocations: 66.84 kB / 0.6151 GB, free: 9.246 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 2.869/3.522, allocations: 0.5634 GB / 1.178 GB, free: 42.28 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.177e-06/3.522, allocations: 0 / 1.178 GB, free: 42.28 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.004686/3.526, allocations: 0.9039 MB / 1.179 GB, free: 42.17 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8489 * Number of variables: 8489 Notification: Performance of Generate backend data structure: time 0.1315/3.658, allocations: 42.49 MB / 1.221 GB, free: 30.96 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/3.658, allocations: 14.56 kB / 1.221 GB, free: 30.95 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/3.677, allocations: 4.186 MB / 1.225 GB, free: 28.02 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06847/3.745, allocations: 21.04 MB / 1.246 GB, free: 12.04 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003459/3.749, allocations: 2.406 MB / 1.248 GB, free: 10.67 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01259/3.762, allocations: 3.149 MB / 1.251 GB, free: 8.566 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2378/3.999, allocations: 54.61 MB / 1.304 GB, free: 2.727 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001482/4.001, allocations: 0 / 1.304 GB, free: 2.727 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01165/4.013, allocations: 1.446 MB / 1.306 GB, free: 2.367 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008533/4.014, allocations: 0.7773 MB / 1.306 GB, free: 1.59 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5555/4.569, allocations: 50.15 MB / 1.355 GB, free: 55.02 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.431/5, allocations: 161.6 MB / 1.513 GB, free: 9.344 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1726/5.173, allocations: 51.44 MB / 1.563 GB, free: 9.125 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5229/5.696, allocations: 22.71 MB / 1.586 GB, free: 73.14 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/5.698, allocations: 259 kB / 1.586 GB, free: 73.12 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007283/5.699, allocations: 0.494 MB / 1.586 GB, free: 73.05 MB / 0.714 GB Notification: Performance of pre-optimization done (n=2540): time 6.284e-05/5.699, allocations: 0 / 1.586 GB, free: 73.05 MB / 0.714 GB Notification: Performance of matching and sorting (n=2540): time 0.127/5.826, allocations: 48.74 MB / 1.634 GB, free: 71.23 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/5.826, allocations: 310.1 kB / 1.634 GB, free: 71.15 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07136/5.897, allocations: 31.83 MB / 1.665 GB, free: 70.11 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.006255/5.904, allocations: 0.571 MB / 1.666 GB, free: 70.08 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.01638/5.92, allocations: 15.45 MB / 1.681 GB, free: 65.93 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.01091/5.931, allocations: 8.63 MB / 1.689 GB, free: 60.47 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006027/5.937, allocations: 0.5851 MB / 1.69 GB, free: 60.47 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 5.496e-05/5.937, allocations: 305.9 kB / 1.69 GB, free: 60.17 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04246/5.98, allocations: 20.41 MB / 1.71 GB, free: 58.11 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0482/6.028, allocations: 24.61 MB / 1.734 GB, free: 49.48 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0505/6.078, allocations: 24.75 MB / 1.758 GB, free: 44.07 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/6.079, allocations: 27.38 kB / 1.758 GB, free: 44.07 MB / 0.714 GB Notification: Performance of matching and sorting (n=3821) (initialization): time 0.1899/6.269, allocations: 68.62 MB / 1.826 GB, free: 11.3 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/6.269, allocations: 44 kB / 1.826 GB, free: 11.26 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/6.269, allocations: 92 kB / 1.826 GB, free: 11.17 MB / 0.7296 GB Notification: Tearing is skipped for strong component 1 because system size of 1659 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.0003299/6.269, allocations: 191.4 kB / 1.826 GB, free: 10.98 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02746/6.297, allocations: 5.022 MB / 1.831 GB, free: 7.199 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004221/6.297, allocations: 234.5 kB / 1.831 GB, free: 6.992 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05014/6.347, allocations: 7.278 MB / 1.838 GB, free: 2.207 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007406/6.355, allocations: 0.9414 MB / 1.839 GB, free: 1.266 MB / 0.7296 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2163): * Single equations (assignments): 2162 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01476/6.37, allocations: 1.699 MB / 1.841 GB, free: 0 / 0.7296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01488/6.385, allocations: 2.942 MB / 1.844 GB, free: 13.03 MB / 0.7453 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/6.4, allocations: 4.836 MB / 1.848 GB, free: 9.973 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007038/6.401, allocations: 356.3 kB / 1.849 GB, free: 9.973 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001139/6.402, allocations: 350.1 kB / 1.849 GB, free: 9.973 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000532/6.403, allocations: 119.3 kB / 1.849 GB, free: 9.973 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.556/6.959, allocations: 32.29 MB / 1.881 GB, free: 104 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002666/6.959, allocations: 0 / 1.881 GB, free: 104 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01246/6.972, allocations: 2.291 MB / 1.883 GB, free: 104 MB / 0.7453 GB Notification: Tearing is skipped for strong component 2 because system size of 1659 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.0001544/6.972, allocations: 33.31 kB / 1.883 GB, free: 104 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004422/6.976, allocations: 428.1 kB / 1.883 GB, free: 104 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001024/6.976, allocations: 26.52 kB / 1.883 GB, free: 104 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.709e-06/6.976, allocations: 5.906 kB / 1.883 GB, free: 104 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.177/7.153, allocations: 72.57 MB / 1.954 GB, free: 101.5 MB / 0.7453 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01756/7.171, allocations: 4.602 MB / 1.959 GB, free: 99.96 MB / 0.7453 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01378/7.185, allocations: 428.1 kB / 1.959 GB, free: 99.96 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05576/7.241, allocations: 9.252 MB / 1.968 GB, free: 99.96 MB / 0.7453 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008519/7.249, allocations: 2.942 MB / 1.971 GB, free: 99.93 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006687/7.256, allocations: 0.7275 MB / 1.972 GB, free: 99.93 MB / 0.7453 GB Notification: Performance of sorting global known variables: time 0.05253/7.308, allocations: 23.73 MB / 1.995 GB, free: 97.82 MB / 0.7453 GB Notification: Performance of sort global known variables: time 2.085e-06/7.309, allocations: 0 / 1.995 GB, free: 97.82 MB / 0.7453 GB Notification: Performance of remove unused functions: time 0.04292/7.351, allocations: 11.2 MB / 2.006 GB, free: 96.38 MB / 0.7453 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (882): * Single equations (assignments): 881 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007944/7.359, allocations: 0.9551 MB / 2.007 GB, free: 95.78 MB / 0.7453 GB Notification: Performance of simCode: created initialization part: time 0.09424/7.454, allocations: 43.21 MB / 2.049 GB, free: 63.97 MB / 0.7453 GB Notification: Performance of simCode: created event and clocks part: time 5.504e-05/7.454, allocations: 58.42 kB / 2.049 GB, free: 63.91 MB / 0.7453 GB Notification: Performance of simCode: created simulation system equations: time 0.04686/7.501, allocations: 19.74 MB / 2.068 GB, free: 47.06 MB / 0.7453 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04573/7.546, allocations: 7.429 MB / 2.075 GB, free: 41.46 MB / 0.7453 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6751/8.222, allocations: 79.12 MB / 2.153 GB, free: 79.36 MB / 0.7453 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04847/8.27, allocations: 22.96 MB / 2.175 GB, free: 77.81 MB / 0.7453 GB Notification: Performance of simCode: alias equations: time 0.0547/8.325, allocations: 13.7 MB / 2.189 GB, free: 77.57 MB / 0.7453 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009712/8.335, allocations: 1.242 MB / 2.19 GB, free: 77.57 MB / 0.7453 GB Notification: Performance of SimCode: time 2.809e-06/8.335, allocations: 3.812 kB / 2.19 GB, free: 77.57 MB / 0.7453 GB Notification: Performance of Templates: time 1.639/9.974, allocations: 427.9 MB / 2.608 GB, free: 72.73 MB / 0.7765 GB