Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 102.4 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 185 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06277/0.06277, allocations: 14.17 MB / 286.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.922/3.922, allocations: 461.2 MB / 0.7801 GB, free: 107.2 MB / 0.6545 GB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 89.84 kB / 1.132 GB, free: 22 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3585, allocations: 172.1 MB / 1.3 GB, free: 6.977 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.04958/0.4081, allocations: 55.55 MB / 1.354 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04013/0.4483, allocations: 20.53 MB / 1.374 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01404/0.4624, allocations: 214.9 kB / 1.374 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.4751, allocations: 2.891 MB / 1.377 GB, free: 7.492 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.02909/0.5042, allocations: 8.187 MB / 1.385 GB, free: 15.27 MB / 1.077 GB Notification: Performance of NFTyping.typeClassSections: time 0.01134/0.5155, allocations: 3.136 MB / 1.388 GB, free: 12.13 MB / 1.077 GB Notification: Performance of NFFlatten.flatten: time 0.02996/0.5455, allocations: 18.58 MB / 1.406 GB, free: 9.488 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006769/0.5523, allocations: 2.366 MB / 1.409 GB, free: 7.043 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/0.5647, allocations: 6.247 MB / 1.415 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/0.5775, allocations: 6.626 MB / 1.421 GB, free: 10.12 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.004444/0.582, allocations: 0.957 MB / 1.422 GB, free: 9.16 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008781/0.5908, allocations: 1.836 MB / 1.424 GB, free: 7.328 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.00406/0.5949, allocations: 2.081 MB / 1.426 GB, free: 5.238 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.01347/0.6083, allocations: 5.925 MB / 1.432 GB, free: 15.28 MB / 1.124 GB Notification: Performance of NFConvertDAE.convert: time 0.02602/0.6344, allocations: 14.86 MB / 1.446 GB, free: 388 kB / 1.124 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6344, allocations: 0 / 1.446 GB, free: 388 kB / 1.124 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6345, allocations: 0 / 1.446 GB, free: 388 kB / 1.124 GB Notification: Performance of Transformations before backend: time 0.0005485/0.635, allocations: 4 kB / 1.446 GB, free: 384 kB / 1.124 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1920 * Number of variables: 1920 Notification: Performance of Generate backend data structure: time 0.05868/0.6937, allocations: 14.26 MB / 1.46 GB, free: 2.008 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.6938, allocations: 8.031 kB / 1.46 GB, free: 2 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008839/0.7026, allocations: 1.437 MB / 1.462 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01865/0.7213, allocations: 6.326 MB / 1.468 GB, free: 10.15 MB / 1.155 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006945/0.722, allocations: 0.5771 MB / 1.468 GB, free: 9.574 MB / 1.155 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/0.7247, allocations: 0.7694 MB / 1.469 GB, free: 8.805 MB / 1.155 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/0.7464, allocations: 7.887 MB / 1.477 GB, free: 0.5977 MB / 1.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002907/0.7467, allocations: 15.86 kB / 1.477 GB, free: 0.582 MB / 1.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/0.7484, allocations: 312 kB / 1.477 GB, free: 284 kB / 1.155 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.7486, allocations: 184 kB / 1.477 GB, free: 100 kB / 1.155 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.7665, allocations: 7.5 MB / 1.485 GB, free: 8.586 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09501/0.8615, allocations: 48.87 MB / 1.532 GB, free: 3.605 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/0.8801, allocations: 9.333 MB / 1.541 GB, free: 10.16 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007259/0.8874, allocations: 3.542 MB / 1.545 GB, free: 6.598 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008723/0.8883, allocations: 102.1 kB / 1.545 GB, free: 6.496 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.8885, allocations: 116.7 kB / 1.545 GB, free: 6.371 MB / 1.233 GB Notification: Performance of pre-optimization done (n=787): time 1.876e-05/0.8886, allocations: 0 / 1.545 GB, free: 6.371 MB / 1.233 GB Notification: Performance of matching and sorting (n=787): time 0.02646/0.915, allocations: 10.42 MB / 1.555 GB, free: 11.91 MB / 1.249 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.9153, allocations: 339.2 kB / 1.556 GB, free: 11.51 MB / 1.249 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/0.9283, allocations: 5.658 MB / 1.561 GB, free: 5.875 MB / 1.249 GB Notification: Performance of collectPreVariables (initialization): time 0.00114/0.9294, allocations: 173.7 kB / 1.561 GB, free: 5.699 MB / 1.249 GB Notification: Performance of collectInitialEqns (initialization): time 0.003617/0.933, allocations: 3.56 MB / 1.565 GB, free: 2.109 MB / 1.249 GB Notification: Performance of collectInitialBindings (initialization): time 0.003937/0.937, allocations: 2.726 MB / 1.567 GB, free: 15.34 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004397/0.9414, allocations: 1.546 MB / 1.569 GB, free: 13.79 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.9415, allocations: 301.1 kB / 1.569 GB, free: 13.49 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006347/0.9479, allocations: 2.944 MB / 1.572 GB, free: 10.53 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007817/0.9557, allocations: 4.74 MB / 1.577 GB, free: 5.129 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/0.9694, allocations: 7.641 MB / 1.584 GB, free: 12.88 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.492e-05/0.9695, allocations: 12 kB / 1.584 GB, free: 12.87 MB / 1.28 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03678/1.006, allocations: 12.42 MB / 1.596 GB, free: 380 kB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/1.006, allocations: 27.94 kB / 1.596 GB, free: 352 kB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.653e-05/1.006, allocations: 47.98 kB / 1.596 GB, free: 304 kB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349/2.356, allocations: 5.497 MB / 1.602 GB, free: 264.1 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007983/2.364, allocations: 1.74 MB / 1.603 GB, free: 264.1 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08318/2.447, allocations: 53.96 MB / 1.656 GB, free: 229.4 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/2.458, allocations: 0.7815 MB / 1.657 GB, free: 229.1 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002106/2.46, allocations: 336.4 kB / 1.657 GB, free: 229 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01122/2.471, allocations: 3.802 MB / 1.661 GB, free: 227.2 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008427/2.48, allocations: 4.496 MB / 1.665 GB, free: 224.1 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01348/2.493, allocations: 7.315 MB / 1.672 GB, free: 219.3 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.892e-05/2.493, allocations: 11.88 kB / 1.672 GB, free: 219.3 MB / 1.28 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02837/2.522, allocations: 10.74 MB / 1.683 GB, free: 214.7 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.79e-05/2.522, allocations: 26.11 kB / 1.683 GB, free: 214.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/2.522, allocations: 43.31 kB / 1.683 GB, free: 214.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/2.543, allocations: 4.421 MB / 1.687 GB, free: 213.8 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008331/2.552, allocations: 1.882 MB / 1.689 GB, free: 213.4 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05349/2.605, allocations: 43.44 MB / 1.732 GB, free: 173.6 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/2.617, allocations: 0.5903 MB / 1.732 GB, free: 173.2 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/2.619, allocations: 332 kB / 1.732 GB, free: 172.8 MB / 1.28 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 10 (GEN_2_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_2_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_2_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_2_1.AVR.firstOrderLim.I.local_reset,GEN_2_1.TGOV.firstOrderLim.I.local_reset,GEN_1_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_1_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_1_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_1_1.AVR.firstOrderLim.I.local_reset,GEN_1_1.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (949): * Single equations (assignments): 929 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(38,0), (172,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003927/2.623, allocations: 0.6751 MB / 1.733 GB, free: 172.2 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003967/2.627, allocations: 0.7989 MB / 1.734 GB, free: 171.4 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0216/2.648, allocations: 8.623 MB / 1.742 GB, free: 162.7 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001614/2.649, allocations: 39.84 kB / 1.742 GB, free: 162.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/2.649, allocations: 0 / 1.742 GB, free: 162.7 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006623/2.655, allocations: 1.645 MB / 1.744 GB, free: 161 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004237/2.66, allocations: 136 kB / 1.744 GB, free: 160.9 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008734/2.668, allocations: 249.2 kB / 1.744 GB, free: 160.7 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001826/2.67, allocations: 0.6183 MB / 1.745 GB, free: 160 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02415/2.694, allocations: 8.18 MB / 1.753 GB, free: 152 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1026/2.797, allocations: 42.37 MB / 1.794 GB, free: 109.3 MB / 1.28 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004928/2.802, allocations: 2.653 MB / 1.797 GB, free: 106.6 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.007554/2.81, allocations: 3.636 MB / 1.8 GB, free: 103 MB / 1.28 GB Notification: Performance of Backend: time 7.82e-07/2.81, allocations: 0 / 1.8 GB, free: 103 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.05379/2.863, allocations: 22.06 MB / 1.822 GB, free: 80.49 MB / 1.28 GB Notification: Performance of SimCode: time 0.049/2.912, allocations: 26.15 MB / 1.848 GB, free: 54.25 MB / 1.28 GB Notification: Performance of Templates: time 0.3006/3.213, allocations: 189.5 MB / 2.033 GB, free: 8.73 MB / 1.421 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)