Running command: translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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.28,28..p.i|ground.28,28..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.28,27..v|load.28,28..LossPower|load.28,28..R_actual|load.28,28..i|load.28,28..n.i|load.28,28..n.v|load.28,28..p.i|load.28,28..p.v|load.28,28..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.28,28..LossPower|secondary.28,28..R_actual|secondary.28,28..i|secondary.28,28..n.i|secondary.28,28..n.v|secondary.28,28..p.i|secondary.28,28..p.v|secondary.28,28..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.DistributionSystemModelica_N_28_M_28") Notification: Performance of loadModel(ScalableTestSuite): time 2.837/2.837, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.036e-05, allocations: 4 kB / 422.2 MB, free: 0.6445 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 80 MB / 0.4905 GB, free: 0.5391 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5737/0.7014, allocations: 126.8 MB / 0.6143 GB, free: 10 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.7016, allocations: 66.34 kB / 0.6143 GB, free: 9.969 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 5.735/6.437, allocations: 1.109 GB / 1.723 GB, free: 45.33 MB / 0.7296 GB Notification: Performance of FrontEnd: time 2.248e-06/6.437, allocations: 0 / 1.723 GB, free: 45.33 MB / 0.7296 GB Notification: Performance of Transformations before backend: time 0.0108/6.448, allocations: 1.679 MB / 1.725 GB, free: 45.14 MB / 0.7296 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15941 * Number of variables: 15941 Notification: Performance of Generate backend data structure: time 0.2357/6.684, allocations: 79.58 MB / 1.802 GB, free: 7.613 MB / 0.7296 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/6.684, allocations: 8.031 kB / 1.802 GB, free: 7.605 MB / 0.7296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03933/6.723, allocations: 7.795 MB / 1.81 GB, free: 15.72 MB / 0.7453 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.289/8.013, allocations: 46.22 MB / 1.855 GB, free: 49.38 MB / 0.7458 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006627/8.019, allocations: 4.502 MB / 1.86 GB, free: 49.25 MB / 0.7458 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02351/8.043, allocations: 5.84 MB / 1.865 GB, free: 49.25 MB / 0.7458 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2397/8.282, allocations: 92.82 MB / 1.956 GB, free: 47.82 MB / 0.7458 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002711/8.285, allocations: 0.75 kB / 1.956 GB, free: 47.82 MB / 0.7458 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02176/8.307, allocations: 2.724 MB / 1.959 GB, free: 47.82 MB / 0.7458 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001062/8.308, allocations: 1.461 MB / 1.96 GB, free: 47.82 MB / 0.7458 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.206/8.514, allocations: 95.1 MB / 2.053 GB, free: 26.86 MB / 0.7458 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.41/9.924, allocations: 304.9 MB / 2.351 GB, free: 32.2 MB / 0.8083 GB Notification: Performance of preOpt comSubExp (simulation): time 0.174/10.1, allocations: 89.61 MB / 2.438 GB, free: 7.418 MB / 0.8083 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7208/10.82, allocations: 45.09 MB / 2.482 GB, free: 89.72 MB / 0.8083 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003403/10.82, allocations: 484 kB / 2.483 GB, free: 89.68 MB / 0.8083 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/10.82, allocations: 0.916 MB / 2.484 GB, free: 89.59 MB / 0.8083 GB Notification: Performance of pre-optimization done (n=4788): time 0.0001504/10.82, allocations: 0 / 2.484 GB, free: 89.59 MB / 0.8083 GB Notification: Performance of matching and sorting (n=4788): time 0.2262/11.05, allocations: 92.13 MB / 2.574 GB, free: 84.48 MB / 0.8083 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004208/11.05, allocations: 0.5288 MB / 2.574 GB, free: 84.38 MB / 0.8083 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1331/11.18, allocations: 60.05 MB / 2.633 GB, free: 81.61 MB / 0.8083 GB Notification: Performance of collectPreVariables (initialization): time 0.009947/11.19, allocations: 1.048 MB / 2.634 GB, free: 80.9 MB / 0.8083 GB Notification: Performance of collectInitialEqns (initialization): time 0.02892/11.22, allocations: 29.2 MB / 2.662 GB, free: 59.64 MB / 0.8083 GB Notification: Performance of collectInitialBindings (initialization): time 0.01921/11.24, allocations: 16.29 MB / 2.678 GB, free: 47.11 MB / 0.8083 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01041/11.25, allocations: 1.095 MB / 2.679 GB, free: 46.23 MB / 0.8083 GB Notification: Performance of setup shared object (initialization): time 0.005108/11.26, allocations: 2.835 MB / 2.682 GB, free: 44.91 MB / 0.8083 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07616/11.33, allocations: 38.26 MB / 2.719 GB, free: 36.54 MB / 0.8083 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6568/11.99, allocations: 46.48 MB / 2.765 GB, free: 63.25 MB / 0.8083 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09681/12.09, allocations: 46.65 MB / 2.81 GB, free: 62.43 MB / 0.8083 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003735/12.09, allocations: 48.47 kB / 2.81 GB, free: 62.43 MB / 0.8083 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.3043/12.39, allocations: 127.7 MB / 2.935 GB, free: 56.21 MB / 0.8083 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/12.39, allocations: 82.12 kB / 2.935 GB, free: 56.21 MB / 0.8083 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000345/12.39, allocations: 170.8 kB / 2.935 GB, free: 56.21 MB / 0.8083 GB Notification: Tearing is skipped for strong component 1 because system size of 3191 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.0004966/12.39, allocations: 345.1 kB / 2.936 GB, free: 56.21 MB / 0.8083 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04548/12.44, allocations: 8.987 MB / 2.944 GB, free: 55.77 MB / 0.8083 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007465/12.44, allocations: 434.2 kB / 2.945 GB, free: 55.7 MB / 0.8083 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09042/12.53, allocations: 13.79 MB / 2.958 GB, free: 52.92 MB / 0.8083 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01378/12.54, allocations: 1.772 MB / 2.96 GB, free: 52.48 MB / 0.8083 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3979): * Single equations (assignments): 3978 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02336/12.57, allocations: 2.885 MB / 2.963 GB, free: 50.22 MB / 0.8083 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0262/12.59, allocations: 5.485 MB / 2.968 GB, free: 47.6 MB / 0.8083 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02403/12.62, allocations: 8.522 MB / 2.977 GB, free: 42.16 MB / 0.8083 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003024/12.62, allocations: 450.5 kB / 2.977 GB, free: 42.16 MB / 0.8083 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008175/12.62, allocations: 449.9 kB / 2.977 GB, free: 42.16 MB / 0.8083 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009646/12.62, allocations: 222.4 kB / 2.978 GB, free: 42.16 MB / 0.8083 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1502/12.77, allocations: 60.26 MB / 3.036 GB, free: 21.77 MB / 0.8083 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000288/12.77, allocations: 3.625 kB / 3.036 GB, free: 21.77 MB / 0.8083 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01792/12.79, allocations: 3.766 MB / 3.04 GB, free: 19.05 MB / 0.8083 GB Notification: Tearing is skipped for strong component 2 because system size of 3191 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.000233/12.79, allocations: 52.77 kB / 3.04 GB, free: 19 MB / 0.8083 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007257/12.8, allocations: 0.7313 MB / 3.041 GB, free: 18.27 MB / 0.8083 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00015/12.8, allocations: 48 kB / 3.041 GB, free: 18.22 MB / 0.8083 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.741e-06/12.8, allocations: 0 / 3.041 GB, free: 18.22 MB / 0.8083 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8115/13.61, allocations: 95.99 MB / 3.135 GB, free: 68.98 MB / 0.8083 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03108/13.64, allocations: 8.652 MB / 3.143 GB, free: 66.16 MB / 0.8083 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02361/13.66, allocations: 0.7329 MB / 3.144 GB, free: 66.16 MB / 0.8083 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.09776/13.76, allocations: 17.86 MB / 3.161 GB, free: 66.16 MB / 0.8083 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01283/13.77, allocations: 4.864 MB / 3.166 GB, free: 66.12 MB / 0.8083 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0108/13.78, allocations: 1.361 MB / 3.167 GB, free: 66.12 MB / 0.8083 GB Notification: Performance of sorting global known variables: time 0.09178/13.88, allocations: 44.8 MB / 3.211 GB, free: 64.7 MB / 0.8083 GB Notification: Performance of sort global known variables: time 1.119e-06/13.88, allocations: 2.531 kB / 3.211 GB, free: 64.7 MB / 0.8083 GB Notification: Performance of remove unused functions: time 0.07457/13.95, allocations: 21.07 MB / 3.232 GB, free: 62.58 MB / 0.8083 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1598): * Single equations (assignments): 1597 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01412/13.96, allocations: 1.667 MB / 3.233 GB, free: 62.32 MB / 0.8083 GB Notification: Performance of simCode: created initialization part: time 0.172/14.14, allocations: 81.01 MB / 3.312 GB, free: 29.35 MB / 0.8083 GB Notification: Performance of simCode: created event and clocks part: time 9.034e-05/14.14, allocations: 112.5 kB / 3.313 GB, free: 29.23 MB / 0.8083 GB Notification: Performance of simCode: created simulation system equations: time 0.09265/14.23, allocations: 37.24 MB / 3.349 GB, free: 14.63 MB / 0.8239 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08686/14.32, allocations: 13.89 MB / 3.362 GB, free: 4.195 MB / 0.8239 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9003/15.22, allocations: 141.6 MB / 3.501 GB, free: 76.52 MB / 0.8239 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09588/15.31, allocations: 42.92 MB / 3.543 GB, free: 73.45 MB / 0.8239 GB Notification: Performance of simCode: alias equations: time 0.09619/15.41, allocations: 26.59 MB / 3.569 GB, free: 71.9 MB / 0.8239 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01639/15.42, allocations: 2.297 MB / 3.571 GB, free: 71.89 MB / 0.8239 GB Notification: Performance of SimCode: time 1.881e-06/15.42, allocations: 0 / 3.571 GB, free: 71.89 MB / 0.8239 GB Notification: Performance of Templates: time 3.945/19.37, allocations: 0.7862 GB / 4.357 GB, free: 62.55 MB / 0.8864 GB