Running command: translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,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.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.DistributionSystemModelica_N_40_M_40") Notification: Performance of loadModel(ScalableTestSuite): time 2.882/2.882, allocations: 326.3 MB / 339.3 MB, free: 13.64 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.351e-05, allocations: 4 kB / 422.2 MB, free: 0.9414 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 80 MB / 0.4905 GB, free: 0.8672 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5092/0.6472, allocations: 126.8 MB / 0.6143 GB, free: 9.984 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.6475, allocations: 69.95 kB / 0.6144 GB, free: 9.949 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 15.11/15.76, allocations: 2.58 GB / 3.195 GB, free: 85.22 MB / 0.8859 GB Notification: Performance of FrontEnd: time 2.172e-06/15.76, allocations: 3.062 kB / 3.195 GB, free: 85.22 MB / 0.8859 GB Notification: Performance of Transformations before backend: time 0.02072/15.78, allocations: 3.411 MB / 3.198 GB, free: 84.82 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: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 0.5205/16.3, allocations: 162.6 MB / 3.357 GB, free: 37.93 MB / 0.8859 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/16.3, allocations: 11.34 kB / 3.357 GB, free: 37.93 MB / 0.8859 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07166/16.37, allocations: 15.82 MB / 3.372 GB, free: 30.33 MB / 0.8859 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.762/18.13, allocations: 83.9 MB / 3.454 GB, free: 79.7 MB / 0.8864 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01326/18.15, allocations: 9.14 MB / 3.463 GB, free: 79.45 MB / 0.8864 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04826/18.19, allocations: 11.86 MB / 3.475 GB, free: 79.45 MB / 0.8864 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5733/18.77, allocations: 188.6 MB / 3.659 GB, free: 47 MB / 0.8864 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005105/18.77, allocations: 0 / 3.659 GB, free: 47 MB / 0.8864 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04465/18.82, allocations: 5.537 MB / 3.664 GB, free: 42.85 MB / 0.8864 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002032/18.82, allocations: 2.964 MB / 3.667 GB, free: 39.98 MB / 0.8864 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075/20.89, allocations: 202.1 MB / 3.865 GB, free: 69.96 MB / 0.9186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.581/23.47, allocations: 0.6066 GB / 4.471 GB, free: 21.16 MB / 0.9811 GB Notification: Performance of preOpt comSubExp (simulation): time 1.326/24.8, allocations: 190.7 MB / 4.657 GB, free: 82.2 MB / 0.9811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1636/24.96, allocations: 82.94 MB / 4.738 GB, free: 58.21 MB / 0.9811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007117/24.97, allocations: 0.9652 MB / 4.739 GB, free: 58.14 MB / 0.9811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002542/24.97, allocations: 1.817 MB / 4.741 GB, free: 57.01 MB / 0.9811 GB Notification: Performance of pre-optimization done (n=9720): time 0.0004/24.97, allocations: 0 / 4.741 GB, free: 57.01 MB / 0.9811 GB Notification: Performance of matching and sorting (n=9720): time 1.317/26.29, allocations: 188.2 MB / 4.925 GB, free: 101.6 MB / 0.9811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009225/26.29, allocations: 1.013 MB / 4.926 GB, free: 101.5 MB / 0.9811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2891/26.58, allocations: 121.9 MB / 5.045 GB, free: 94.06 MB / 0.9811 GB Notification: Performance of collectPreVariables (initialization): time 0.02125/26.6, allocations: 2.104 MB / 5.047 GB, free: 92.64 MB / 0.9811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06298/26.67, allocations: 60.46 MB / 5.106 GB, free: 50.35 MB / 0.9811 GB Notification: Performance of collectInitialBindings (initialization): time 0.04165/26.71, allocations: 33.11 MB / 5.138 GB, free: 24.86 MB / 0.9811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02716/26.73, allocations: 2.226 MB / 5.141 GB, free: 23.08 MB / 0.9811 GB Notification: Performance of setup shared object (initialization): time 0.01976/26.75, allocations: 5.445 MB / 5.146 GB, free: 20.73 MB / 0.9811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.195/26.95, allocations: 78.2 MB / 5.222 GB, free: 5.328 MB / 0.9811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051/28, allocations: 93.84 MB / 5.314 GB, free: 121.5 MB / 0.9811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.208/28.21, allocations: 94.86 MB / 5.407 GB, free: 114 MB / 0.9811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007786/28.21, allocations: 106.2 kB / 5.407 GB, free: 114 MB / 0.9811 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 1.632/29.84, allocations: 263 MB / 5.663 GB, free: 63.99 MB / 0.9811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009836/29.84, allocations: 160 kB / 5.664 GB, free: 63.99 MB / 0.9811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001117/29.84, allocations: 348.8 kB / 5.664 GB, free: 63.99 MB / 0.9811 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 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.001922/29.85, allocations: 0.6874 MB / 5.665 GB, free: 63.99 MB / 0.9811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1019/29.95, allocations: 18.43 MB / 5.683 GB, free: 63.09 MB / 0.9811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/29.95, allocations: 0.861 MB / 5.683 GB, free: 62.94 MB / 0.9811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1969/30.15, allocations: 28.54 MB / 5.711 GB, free: 59 MB / 0.9811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.03268/30.18, allocations: 3.607 MB / 5.715 GB, free: 59 MB / 0.9811 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8083): * Single equations (assignments): 8082 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.05595/30.24, allocations: 5.748 MB / 5.72 GB, free: 57.77 MB / 0.9811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.06082/30.3, allocations: 11.12 MB / 5.731 GB, free: 52.46 MB / 0.9811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05715/30.35, allocations: 17.31 MB / 5.748 GB, free: 51.37 MB / 0.9811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008122/30.35, allocations: 0.8913 MB / 5.749 GB, free: 51.37 MB / 0.9811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001944/30.36, allocations: 0.8905 MB / 5.75 GB, free: 51.37 MB / 0.9811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/30.36, allocations: 459.8 kB / 5.75 GB, free: 51.37 MB / 0.9811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3562/30.71, allocations: 122.4 MB / 5.87 GB, free: 22.61 MB / 0.9811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006943/30.72, allocations: 4 kB / 5.87 GB, free: 22.6 MB / 0.9811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03959/30.76, allocations: 7.728 MB / 5.878 GB, free: 21.51 MB / 0.9811 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 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.0005388/30.76, allocations: 109.2 kB / 5.878 GB, free: 21.5 MB / 0.9811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01723/30.77, allocations: 1.483 MB / 5.879 GB, free: 20.32 MB / 0.9811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004213/30.77, allocations: 102.8 kB / 5.879 GB, free: 20.32 MB / 0.9811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.645e-06/30.77, allocations: 0 / 5.879 GB, free: 20.32 MB / 0.9811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.385/32.16, allocations: 192.8 MB / 6.067 GB, free: 99.89 MB / 0.9967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06853/32.23, allocations: 17.49 MB / 6.085 GB, free: 96.08 MB / 0.9967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.05504/32.28, allocations: 1.489 MB / 6.086 GB, free: 96.07 MB / 0.9967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2197/32.5, allocations: 36.97 MB / 6.122 GB, free: 93.48 MB / 0.9967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02947/32.53, allocations: 9.866 MB / 6.132 GB, free: 93.41 MB / 0.9967 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0265/32.56, allocations: 2.773 MB / 6.134 GB, free: 93.4 MB / 0.9967 GB Notification: Performance of sorting global known variables: time 0.2226/32.78, allocations: 91.01 MB / 6.223 GB, free: 75.53 MB / 0.9967 GB Notification: Performance of sort global known variables: time 1.253e-06/32.78, allocations: 4.266 kB / 6.223 GB, free: 75.53 MB / 0.9967 GB Notification: Performance of remove unused functions: time 0.1685/32.95, allocations: 42.81 MB / 6.265 GB, free: 60.81 MB / 0.9967 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 (3242): * Single equations (assignments): 3241 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03204/32.98, allocations: 3.281 MB / 6.268 GB, free: 57.51 MB / 0.9967 GB Notification: Performance of simCode: created initialization part: time 1.208/34.19, allocations: 167.5 MB / 6.432 GB, free: 124.6 MB / 0.9967 GB Notification: Performance of simCode: created event and clocks part: time 0.0002902/34.19, allocations: 228.2 kB / 6.432 GB, free: 124.6 MB / 0.9967 GB Notification: Performance of simCode: created simulation system equations: time 0.1934/34.38, allocations: 74.93 MB / 6.505 GB, free: 122 MB / 0.9967 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1738/34.56, allocations: 28.32 MB / 6.533 GB, free: 114.4 MB / 0.9967 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.692/36.25, allocations: 299.9 MB / 6.826 GB, free: 47.3 MB / 0.9967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2375/36.49, allocations: 87.23 MB / 6.911 GB, free: 41.06 MB / 0.9967 GB Notification: Performance of simCode: alias equations: time 0.2204/36.71, allocations: 54.79 MB / 6.965 GB, free: 33.74 MB / 0.9967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03793/36.75, allocations: 4.653 MB / 6.969 GB, free: 33.73 MB / 0.9967 GB Notification: Performance of SimCode: time 1.976e-06/36.75, allocations: 0.7656 kB / 6.969 GB, free: 33.73 MB / 0.9967 GB Notification: Performance of Templates: time 8.293/45.04, allocations: 1.601 GB / 8.57 GB, free: 130.6 MB / 1.2 GB