Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_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_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_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.001296/0.001296, allocations: 110.6 kB / 18.42 MB, free: 4.684 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.001342/0.001342, allocations: 181.5 kB / 19.34 MB, free: 3.77 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.324/1.324, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06016/0.06016, allocations: 14.18 MB / 286.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.356/3.356, 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.002295/0.002295, allocations: 91.25 kB / 1.132 GB, free: 22.03 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3915, allocations: 172.1 MB / 1.3 GB, free: 6.965 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1): time 0.05252/0.4441, allocations: 55.57 MB / 1.354 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04208/0.4863, allocations: 20.52 MB / 1.374 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01382/0.5002, allocations: 214.9 kB / 1.374 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.5117, allocations: 2.902 MB / 1.377 GB, free: 7.441 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.02876/0.5405, allocations: 8.176 MB / 1.385 GB, free: 15.23 MB / 1.077 GB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.5512, allocations: 3.132 MB / 1.388 GB, free: 12.09 MB / 1.077 GB Notification: Performance of NFFlatten.flatten: time 0.02973/0.5809, allocations: 18.58 MB / 1.406 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006281/0.5872, allocations: 2.369 MB / 1.409 GB, free: 7 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/0.5989, allocations: 6.258 MB / 1.415 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/0.6111, allocations: 6.614 MB / 1.421 GB, free: 10.07 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.004577/0.6157, allocations: 0.957 MB / 1.422 GB, free: 9.117 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008355/0.6241, allocations: 1.847 MB / 1.424 GB, free: 7.273 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.004177/0.6283, allocations: 2.081 MB / 1.426 GB, free: 5.184 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.01412/0.6425, allocations: 5.917 MB / 1.432 GB, free: 15.23 MB / 1.124 GB Notification: Performance of NFConvertDAE.convert: time 0.02666/0.6692, allocations: 14.88 MB / 1.446 GB, free: 324 kB / 1.124 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.6692, allocations: 0 / 1.446 GB, free: 324 kB / 1.124 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6692, allocations: 0 / 1.446 GB, free: 324 kB / 1.124 GB Notification: Performance of Transformations before backend: time 0.0006711/0.6699, allocations: 0 / 1.446 GB, free: 324 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: 1921 * Number of variables: 1921 Notification: Performance of Generate backend data structure: time 0.0607/0.7306, allocations: 14.26 MB / 1.46 GB, free: 1.953 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.7307, allocations: 8.031 kB / 1.46 GB, free: 1.945 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008258/0.739, allocations: 1.437 MB / 1.462 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/0.758, allocations: 6.334 MB / 1.468 GB, free: 10.09 MB / 1.155 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/0.7593, allocations: 0.581 MB / 1.468 GB, free: 9.504 MB / 1.155 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005451/0.7648, allocations: 0.7654 MB / 1.469 GB, free: 8.738 MB / 1.155 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/0.7892, allocations: 7.895 MB / 1.477 GB, free: 0.5234 MB / 1.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003851/0.7897, allocations: 19.86 kB / 1.477 GB, free: 0.5039 MB / 1.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001937/0.7916, allocations: 308 kB / 1.477 GB, free: 208 kB / 1.155 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.7918, allocations: 188 kB / 1.477 GB, free: 20 kB / 1.155 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.8106, allocations: 7.493 MB / 1.485 GB, free: 8.516 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.08887/0.8995, allocations: 48.87 MB / 1.532 GB, free: 3.539 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01814/0.9177, allocations: 9.317 MB / 1.541 GB, free: 10.11 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007705/0.9254, allocations: 3.553 MB / 1.545 GB, free: 6.535 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/0.9262, allocations: 98.12 kB / 1.545 GB, free: 6.438 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.9264, allocations: 120.7 kB / 1.545 GB, free: 6.309 MB / 1.233 GB Notification: Performance of pre-optimization done (n=787): time 1.053e-05/0.9264, allocations: 0 / 1.545 GB, free: 6.309 MB / 1.233 GB Notification: Performance of matching and sorting (n=787): time 0.02765/0.954, allocations: 10.42 MB / 1.555 GB, free: 11.84 MB / 1.249 GB Notification: Performance of evaluateOutputsOnly (n=787 -> n=337): time 1.664/2.618, allocations: 435.8 MB / 1.981 GB, free: 196 kB / 1.358 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/2.618, allocations: 295.7 kB / 1.981 GB, free: 15.84 MB / 1.374 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/2.633, allocations: 7.476 MB / 1.988 GB, free: 8.625 MB / 1.374 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/2.635, allocations: 171.8 kB / 1.989 GB, free: 8.453 MB / 1.374 GB Notification: Performance of collectInitialEqns (initialization): time 0.003566/2.638, allocations: 2.794 MB / 1.991 GB, free: 6.34 MB / 1.374 GB Notification: Performance of collectInitialBindings (initialization): time 0.001833/2.64, allocations: 1.206 MB / 1.992 GB, free: 5.312 MB / 1.374 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003324/2.643, allocations: 1.841 MB / 1.994 GB, free: 3.457 MB / 1.374 GB Notification: Performance of setup shared object (initialization): time 0.0001095/2.643, allocations: 305.1 kB / 1.995 GB, free: 3.156 MB / 1.374 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00593/2.649, allocations: 2.952 MB / 1.997 GB, free: 192 kB / 1.374 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007831/2.657, allocations: 4.752 MB / 2.002 GB, free: 10.78 MB / 1.39 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.669, allocations: 6.55 MB / 2.008 GB, free: 3.629 MB / 1.39 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.223e-05/2.669, allocations: 12 kB / 2.008 GB, free: 3.617 MB / 1.39 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03435/2.704, allocations: 12.45 MB / 2.021 GB, free: 7.094 MB / 1.405 GB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/2.704, allocations: 25.97 kB / 2.021 GB, free: 7.07 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.508e-05/2.704, allocations: 47.98 kB / 2.021 GB, free: 7.023 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02742/2.731, allocations: 5.505 MB / 2.026 GB, free: 1.477 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/2.739, allocations: 1.744 MB / 2.028 GB, free: 15.73 MB / 1.421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08467/2.824, allocations: 53.96 MB / 2.08 GB, free: 6.977 MB / 1.468 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/2.836, allocations: 0.8714 MB / 2.081 GB, free: 6.098 MB / 1.468 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/2.837, allocations: 332 kB / 2.082 GB, free: 5.773 MB / 1.468 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009936/2.847, allocations: 3.568 MB / 2.085 GB, free: 2.199 MB / 1.468 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007971/2.855, allocations: 4.514 MB / 2.09 GB, free: 13.02 MB / 1.483 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01163/2.867, allocations: 6.223 MB / 2.096 GB, free: 6.199 MB / 1.483 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.457e-05/2.867, allocations: 12 kB / 2.096 GB, free: 6.188 MB / 1.483 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02823/2.895, allocations: 10.77 MB / 2.106 GB, free: 11.36 MB / 1.499 GB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/2.895, allocations: 20 kB / 2.106 GB, free: 11.34 MB / 1.499 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-05/2.896, allocations: 44 kB / 2.106 GB, free: 11.3 MB / 1.499 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02256/2.918, allocations: 4.424 MB / 2.111 GB, free: 6.832 MB / 1.499 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008936/2.927, allocations: 1.888 MB / 2.112 GB, free: 4.941 MB / 1.499 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06572/2.993, allocations: 43.44 MB / 2.155 GB, free: 6.965 MB / 1.546 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/3.006, allocations: 0.593 MB / 2.155 GB, free: 6.367 MB / 1.546 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/3.008, allocations: 331.9 kB / 2.156 GB, free: 6.043 MB / 1.546 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.00268/3.011, allocations: 0.6162 MB / 2.156 GB, free: 5.418 MB / 1.546 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002988/3.014, allocations: 0.7366 MB / 2.157 GB, free: 4.672 MB / 1.546 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/3.028, allocations: 5.451 MB / 2.162 GB, free: 15.17 MB / 1.562 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/3.028, allocations: 15.94 kB / 2.162 GB, free: 15.16 MB / 1.562 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/3.028, allocations: 0 / 2.162 GB, free: 15.16 MB / 1.562 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004712/3.033, allocations: 1.357 MB / 2.164 GB, free: 13.77 MB / 1.562 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002675/3.035, allocations: 64 kB / 2.164 GB, free: 13.71 MB / 1.562 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005768/3.041, allocations: 147.9 kB / 2.164 GB, free: 13.57 MB / 1.562 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00085/3.042, allocations: 405.9 kB / 2.164 GB, free: 13.17 MB / 1.562 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01571/3.058, allocations: 5.358 MB / 2.17 GB, free: 7.871 MB / 1.562 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.09023/3.148, allocations: 38.65 MB / 2.207 GB, free: 0.9023 MB / 1.593 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.056/4.204, allocations: 1.434 MB / 2.209 GB, free: 429.5 MB / 1.593 GB Notification: Performance of sorting global known variables: time 0.01106/4.215, allocations: 4.632 MB / 2.213 GB, free: 429.3 MB / 1.593 GB Notification: Performance of Backend: time 8.32e-07/4.215, allocations: 0.5312 kB / 2.213 GB, free: 429.3 MB / 1.593 GB Notification: Performance of simCode: created initialization part: time 0.05466/4.269, allocations: 21.91 MB / 2.235 GB, free: 423.4 MB / 1.593 GB Notification: Performance of SimCode: time 0.03362/4.303, allocations: 19.84 MB / 2.254 GB, free: 415.2 MB / 1.593 GB Notification: Performance of Templates: time 0.2537/4.557, allocations: 173.8 MB / 2.424 GB, free: 314.1 MB / 1.593 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe 2>&1)