Running command: translateModel(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,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.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_noopt_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20") Notification: Performance of loadModel(ScalableTestSuite): time 3.448/3.448, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.457e-05, allocations: 4 kB / 422.2 MB, free: 0.625 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 79.99 MB / 0.4905 GB, free: 0.5195 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5523/0.6782, allocations: 126.8 MB / 0.6143 GB, free: 10.05 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.6785, allocations: 62.47 kB / 0.6144 GB, free: 10.02 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 2.783/3.461, allocations: 0.5329 GB / 1.147 GB, free: 44.93 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.614e-06/3.461, allocations: 0 / 1.147 GB, free: 44.93 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.004302/3.466, allocations: 0.8697 MB / 1.148 GB, free: 44.82 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: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.1475/3.613, allocations: 40.58 MB / 1.188 GB, free: 34.87 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/3.613, allocations: 7.781 kB / 1.188 GB, free: 34.87 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02493/3.638, allocations: 4.006 MB / 1.192 GB, free: 32.95 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08162/3.72, allocations: 20.12 MB / 1.211 GB, free: 29.34 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00275/3.723, allocations: 2.309 MB / 1.214 GB, free: 29.28 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01062/3.733, allocations: 3.005 MB / 1.216 GB, free: 29.28 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1225/3.856, allocations: 47.63 MB / 1.263 GB, free: 3.461 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001358/3.857, allocations: 0 / 1.263 GB, free: 3.461 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01142/3.869, allocations: 1.402 MB / 1.264 GB, free: 3.109 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008897/3.87, allocations: 0.756 MB / 1.265 GB, free: 2.355 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6726/4.542, allocations: 54.65 MB / 1.318 GB, free: 51.68 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4458/4.988, allocations: 155.9 MB / 1.471 GB, free: 31.68 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07965/5.068, allocations: 45.07 MB / 1.515 GB, free: 8.379 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06483/5.133, allocations: 22 MB / 1.536 GB, free: 9.234 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/5.134, allocations: 251.2 kB / 1.536 GB, free: 8.988 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007151/5.135, allocations: 495.9 kB / 1.537 GB, free: 8.496 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=2460): time 4.356e-05/5.135, allocations: 2.188 kB / 1.537 GB, free: 8.496 MB / 0.6984 GB Notification: Performance of matching and sorting (n=2460): time 0.1646/5.3, allocations: 48.07 MB / 1.584 GB, free: 3 MB / 0.7296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003276/5.3, allocations: 310.5 kB / 1.584 GB, free: 2.684 MB / 0.7296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5185/5.819, allocations: 30.9 MB / 1.614 GB, free: 101.8 MB / 0.7296 GB Notification: Performance of collectPreVariables (initialization): time 0.005153/5.824, allocations: 0.5484 MB / 1.615 GB, free: 101.8 MB / 0.7296 GB Notification: Performance of collectInitialEqns (initialization): time 0.01455/5.839, allocations: 14.75 MB / 1.629 GB, free: 99.18 MB / 0.7296 GB Notification: Performance of collectInitialBindings (initialization): time 0.009304/5.848, allocations: 8.309 MB / 1.637 GB, free: 93.92 MB / 0.7296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005445/5.853, allocations: 0.5662 MB / 1.638 GB, free: 93.92 MB / 0.7296 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/5.853, allocations: 301.1 kB / 1.638 GB, free: 93.62 MB / 0.7296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04009/5.894, allocations: 19.62 MB / 1.657 GB, free: 93.56 MB / 0.7296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04452/5.938, allocations: 23.65 MB / 1.681 GB, free: 90.14 MB / 0.7296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04735/5.985, allocations: 23.92 MB / 1.704 GB, free: 89.71 MB / 0.7296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/5.986, allocations: 26.34 kB / 1.704 GB, free: 89.71 MB / 0.7296 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1525/6.138, allocations: 65.41 MB / 1.768 GB, free: 67.29 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/6.138, allocations: 44 kB / 1.768 GB, free: 67.25 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/6.139, allocations: 91.47 kB / 1.768 GB, free: 67.16 MB / 0.7296 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0002528/6.139, allocations: 176 kB / 1.768 GB, free: 66.99 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02359/6.162, allocations: 4.552 MB / 1.773 GB, free: 63.53 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003326/6.163, allocations: 226.9 kB / 1.773 GB, free: 63.33 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0446/6.207, allocations: 6.897 MB / 1.779 GB, free: 58.8 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006488/6.214, allocations: 0.9107 MB / 1.78 GB, free: 57.89 MB / 0.7296 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01087/6.225, allocations: 1.531 MB / 1.782 GB, free: 56.35 MB / 0.7296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01252/6.237, allocations: 2.82 MB / 1.785 GB, free: 53.5 MB / 0.7296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/6.249, allocations: 4.374 MB / 1.789 GB, free: 49.39 MB / 0.7296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001648/6.25, allocations: 232 kB / 1.789 GB, free: 49.17 MB / 0.7296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004083/6.25, allocations: 232.2 kB / 1.789 GB, free: 48.95 MB / 0.7296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004425/6.25, allocations: 114.8 kB / 1.789 GB, free: 48.95 MB / 0.7296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07112/6.322, allocations: 30.96 MB / 1.82 GB, free: 25.7 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001441/6.322, allocations: 0 / 1.82 GB, free: 25.7 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009152/6.331, allocations: 1.916 MB / 1.822 GB, free: 24.29 MB / 0.7296 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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.000118/6.331, allocations: 28 kB / 1.822 GB, free: 24.27 MB / 0.7296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003576/6.335, allocations: 388 kB / 1.822 GB, free: 23.89 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-05/6.335, allocations: 24 kB / 1.822 GB, free: 23.86 MB / 0.7296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.321e-06/6.335, allocations: 4 kB / 1.822 GB, free: 23.86 MB / 0.7296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6126/6.947, allocations: 49.89 MB / 1.871 GB, free: 77.68 MB / 0.7296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01699/6.964, allocations: 4.478 MB / 1.875 GB, free: 77.59 MB / 0.7296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01358/6.978, allocations: 386.6 kB / 1.875 GB, free: 77.59 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05329/7.031, allocations: 8.942 MB / 1.884 GB, free: 77.58 MB / 0.7296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007389/7.039, allocations: 2.498 MB / 1.887 GB, free: 77.56 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006527/7.045, allocations: 0.7002 MB / 1.887 GB, free: 77.56 MB / 0.7296 GB Notification: Performance of sorting global known variables: time 0.05138/7.097, allocations: 22.99 MB / 1.91 GB, free: 76.82 MB / 0.7296 GB Notification: Performance of sort global known variables: time 1.193e-06/7.097, allocations: 0 / 1.91 GB, free: 76.82 MB / 0.7296 GB Notification: Performance of remove unused functions: time 0.04036/7.137, allocations: 10.82 MB / 1.92 GB, free: 76.52 MB / 0.7296 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00737/7.145, allocations: 0.9089 MB / 1.921 GB, free: 76.34 MB / 0.7296 GB Notification: Performance of simCode: created initialization part: time 0.09236/7.237, allocations: 41.57 MB / 1.962 GB, free: 75.18 MB / 0.7296 GB Notification: Performance of simCode: created event and clocks part: time 5.622e-05/7.237, allocations: 58.16 kB / 1.962 GB, free: 75.18 MB / 0.7296 GB Notification: Performance of simCode: created simulation system equations: time 0.04561/7.283, allocations: 18.95 MB / 1.98 GB, free: 74.47 MB / 0.7296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04489/7.328, allocations: 7.086 MB / 1.987 GB, free: 74.15 MB / 0.7296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1695/7.497, allocations: 71.2 MB / 2.057 GB, free: 40.98 MB / 0.7296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04363/7.541, allocations: 21.96 MB / 2.078 GB, free: 25.44 MB / 0.7296 GB Notification: Performance of simCode: alias equations: time 0.05099/7.592, allocations: 13.34 MB / 2.091 GB, free: 16.53 MB / 0.7296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008235/7.6, allocations: 1.183 MB / 2.092 GB, free: 15.35 MB / 0.7296 GB Notification: Performance of SimCode: time 3.05e-06/7.6, allocations: 0 / 2.092 GB, free: 15.35 MB / 0.7296 GB Notification: Performance of Templates: time 2.073/9.674, allocations: 413 MB / 2.496 GB, free: 105.9 MB / 0.7765 GB