Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.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/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/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_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 113 kB / 17.74 MB, free: 5.312 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.001466/0.001466, allocations: 188.2 kB / 18.68 MB, free: 4.383 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.762/1.762, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06154/0.06154, allocations: 14.17 MB / 286.1 MB, free: 13.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 4.029/4.029, allocations: 418.5 MB / 0.7378 GB, free: 5.121 MB / 0.5764 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.001965/0.001965, allocations: 89.77 kB / 1.067 GB, free: 6.652 MB / 0.7959 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4471, allocations: 160.9 MB / 1.224 GB, free: 8.977 MB / 0.9209 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.06109/0.5083, allocations: 63.8 MB / 1.287 GB, free: 8.918 MB / 0.9834 GB Notification: Performance of NFInst.instExpressions: time 0.05269/0.561, allocations: 23.29 MB / 1.309 GB, free: 1.551 MB / 0.999 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02006/0.5811, allocations: 238.9 kB / 1.31 GB, free: 1.316 MB / 0.999 GB Notification: Performance of NFTyping.typeComponents: time 0.01704/0.5983, allocations: 3.318 MB / 1.313 GB, free: 13.97 MB / 1.015 GB Notification: Performance of NFTyping.typeBindings: time 0.03994/0.6382, allocations: 8.848 MB / 1.322 GB, free: 5.09 MB / 1.015 GB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.6501, allocations: 3.269 MB / 1.325 GB, free: 1.816 MB / 1.015 GB Notification: Performance of NFFlatten.flatten: time 0.03925/0.6894, allocations: 21.26 MB / 1.345 GB, free: 12.49 MB / 1.046 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006288/0.6957, allocations: 2.522 MB / 1.348 GB, free: 9.887 MB / 1.046 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01698/0.7127, allocations: 6.989 MB / 1.355 GB, free: 2.871 MB / 1.046 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01854/0.7313, allocations: 7.571 MB / 1.362 GB, free: 11.27 MB / 1.062 GB Notification: Performance of NFPackage.collectConstants: time 0.007902/0.7393, allocations: 1.047 MB / 1.363 GB, free: 10.22 MB / 1.062 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01391/0.7532, allocations: 2.043 MB / 1.365 GB, free: 8.18 MB / 1.062 GB Notification: Performance of NFScalarize.scalarize: time 0.006706/0.76, allocations: 2.311 MB / 1.367 GB, free: 5.859 MB / 1.062 GB Notification: Performance of NFVerifyModel.verify: time 0.02114/0.7812, allocations: 6.722 MB / 1.374 GB, free: 15.1 MB / 1.077 GB Notification: Performance of NFConvertDAE.convert: time 0.04322/0.8244, allocations: 16.78 MB / 1.39 GB, free: 14.27 MB / 1.093 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.8245, allocations: 0 / 1.39 GB, free: 14.27 MB / 1.093 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8245, allocations: 4 kB / 1.39 GB, free: 14.26 MB / 1.093 GB Notification: Performance of Transformations before backend: time 0.0008603/0.8254, allocations: 0 / 1.39 GB, free: 14.26 MB / 1.093 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2196 * Number of variables: 2196 Notification: Performance of Generate backend data structure: time 0.08666/0.9121, allocations: 16.55 MB / 1.407 GB, free: 13.59 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 8.25e-05/0.9122, allocations: 8.031 kB / 1.407 GB, free: 13.58 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.9253, allocations: 1.707 MB / 1.408 GB, free: 11.86 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02703/0.9524, allocations: 7.149 MB / 1.415 GB, free: 4.625 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/0.9534, allocations: 0.6535 MB / 1.416 GB, free: 3.969 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003886/0.9573, allocations: 0.871 MB / 1.417 GB, free: 3.098 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/0.9851, allocations: 8.969 MB / 1.425 GB, free: 9.727 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/0.9853, allocations: 19.81 kB / 1.425 GB, free: 9.707 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008946/0.9862, allocations: 360 kB / 1.426 GB, free: 9.352 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.9863, allocations: 219.9 kB / 1.426 GB, free: 9.137 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02352/1.01, allocations: 8.511 MB / 1.434 GB, free: 0.6055 MB / 1.124 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.149/1.159, allocations: 57.14 MB / 1.49 GB, free: 2.551 MB / 1.187 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02726/1.186, allocations: 10.66 MB / 1.501 GB, free: 7.852 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01155/1.198, allocations: 4.028 MB / 1.505 GB, free: 3.809 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/1.199, allocations: 103.1 kB / 1.505 GB, free: 3.707 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/1.2, allocations: 129.7 kB / 1.505 GB, free: 3.57 MB / 1.202 GB Notification: Performance of pre-optimization done (n=909): time 5.279e-05/1.2, allocations: 0 / 1.505 GB, free: 3.57 MB / 1.202 GB Notification: Performance of matching and sorting (n=909): time 0.04725/1.247, allocations: 12.06 MB / 1.517 GB, free: 7.5 MB / 1.218 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000416/1.248, allocations: 356.2 kB / 1.517 GB, free: 7.09 MB / 1.218 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02507/1.273, allocations: 6.322 MB / 1.523 GB, free: 0.8164 MB / 1.218 GB Notification: Performance of collectPreVariables (initialization): time 0.003178/1.276, allocations: 189.7 kB / 1.523 GB, free: 0.625 MB / 1.218 GB Notification: Performance of collectInitialEqns (initialization): time 1.076/2.352, allocations: 4.123 MB / 1.527 GB, free: 265.9 MB / 1.218 GB Notification: Performance of collectInitialBindings (initialization): time 0.006316/2.358, allocations: 3.299 MB / 1.53 GB, free: 264.3 MB / 1.218 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00404/2.362, allocations: 1.738 MB / 1.532 GB, free: 264.1 MB / 1.218 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/2.362, allocations: 301.1 kB / 1.532 GB, free: 263.8 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008505/2.371, allocations: 3.275 MB / 1.536 GB, free: 262.5 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01401/2.385, allocations: 5.261 MB / 1.541 GB, free: 259 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02671/2.411, allocations: 8.591 MB / 1.549 GB, free: 253.6 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/2.412, allocations: 12.84 kB / 1.549 GB, free: 253.6 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.05684/2.469, allocations: 13.94 MB / 1.563 GB, free: 248.2 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002227/2.469, allocations: 27.62 kB / 1.563 GB, free: 248.2 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/2.469, allocations: 47.06 kB / 1.563 GB, free: 248.2 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03018/2.499, allocations: 6.179 MB / 1.569 GB, free: 247.5 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008851/2.508, allocations: 1.946 MB / 1.571 GB, free: 247.3 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09511/2.603, allocations: 58.14 MB / 1.628 GB, free: 202.6 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01992/2.623, allocations: 0.8632 MB / 1.628 GB, free: 201.9 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003523/2.627, allocations: 376 kB / 1.629 GB, free: 201.5 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01677/2.644, allocations: 4.262 MB / 1.633 GB, free: 197.2 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01081/2.655, allocations: 5.024 MB / 1.638 GB, free: 191.5 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01844/2.673, allocations: 8.26 MB / 1.646 GB, free: 182.5 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.66e-05/2.673, allocations: 16 kB / 1.646 GB, free: 182.5 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.03817/2.711, allocations: 12.24 MB / 1.658 GB, free: 170.1 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 9.94e-05/2.711, allocations: 28 kB / 1.658 GB, free: 170.1 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/2.712, allocations: 48 kB / 1.658 GB, free: 170.1 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02412/2.736, allocations: 5.103 MB / 1.663 GB, free: 164.9 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009578/2.745, allocations: 2.091 MB / 1.665 GB, free: 162.8 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05393/2.799, allocations: 47.67 MB / 1.712 GB, free: 112.6 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/2.813, allocations: 0.6683 MB / 1.712 GB, free: 112.1 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/2.816, allocations: 368 kB / 1.713 GB, free: 111.7 MB / 1.218 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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 (1061): * Single equations (assignments): 1041 * 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), (216,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.002614/2.818, allocations: 0.7385 MB / 1.713 GB, free: 111 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003995/2.822, allocations: 0.9511 MB / 1.714 GB, free: 110 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/2.841, allocations: 9.958 MB / 1.724 GB, free: 100 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00016/2.841, allocations: 39.84 kB / 1.724 GB, free: 100 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/2.841, allocations: 4 kB / 1.724 GB, free: 99.99 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00853/2.85, allocations: 1.91 MB / 1.726 GB, free: 98.12 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004293/2.854, allocations: 156 kB / 1.726 GB, free: 97.97 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0146/2.869, allocations: 273.7 kB / 1.726 GB, free: 97.71 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003305/2.872, allocations: 0.7223 MB / 1.727 GB, free: 96.98 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03222/2.904, allocations: 9.367 MB / 1.736 GB, free: 87.79 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1304/3.035, allocations: 47.76 MB / 1.783 GB, free: 39.77 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006731/3.041, allocations: 3.004 MB / 1.786 GB, free: 36.76 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.009669/3.051, allocations: 4.062 MB / 1.79 GB, free: 32.74 MB / 1.218 GB Notification: Performance of Backend: time 2.034e-06/3.051, allocations: 0 / 1.79 GB, free: 32.74 MB / 1.218 GB Notification: Performance of simCode: created initialization part: time 0.06661/3.118, allocations: 24.85 MB / 1.814 GB, free: 7.434 MB / 1.218 GB Notification: Performance of SimCode: time 0.06239/3.18, allocations: 30.43 MB / 1.844 GB, free: 8.855 MB / 1.249 GB Notification: Performance of Templates: time 0.4012/3.581, allocations: 216.8 MB / 2.055 GB, free: 15.91 MB / 1.468 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)