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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 79.62 kB / 21.42 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 170.3 kB / 24.69 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 158.6 MB / 186.5 MB, free: 6.438 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06427/0.06427, allocations: 10.66 MB / 249.4 MB, free: 10.46 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.2.0/package.mo): time 4.224/4.224, allocations: 339.2 MB / 0.6295 GB, free: 9.27 MB / 0.5607 GB " [Timeout remaining time 174] Using package ScalableTestGrids with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.2.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") [Timeout 600] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003448/0.003448, allocations: 99.84 kB / 1.005 GB, free: 1.062 MB / 0.9202 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864/1.868, allocations: 182.5 MB / 1.184 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1): time 0.06744/1.935, allocations: 47.42 MB / 1.23 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05392/1.989, allocations: 19.55 MB / 1.249 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01987/2.009, allocations: 277.9 kB / 1.249 GB, free: 2.344 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01422/2.023, allocations: 2.785 MB / 1.252 GB, free: 15.54 MB / 1.077 GB Notification: Performance of NFTyping.typeBindings: time 0.03803/2.061, allocations: 8.146 MB / 1.26 GB, free: 7.355 MB / 1.077 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/2.074, allocations: 3.144 MB / 1.263 GB, free: 4.207 MB / 1.077 GB Notification: Performance of NFFlatten.flatten: time 0.03828/2.112, allocations: 19.33 MB / 1.282 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005442/2.118, allocations: 1.324 MB / 1.283 GB, free: 15.42 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03113/2.149, allocations: 9.532 MB / 1.292 GB, free: 5.863 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01569/2.165, allocations: 6.013 MB / 1.298 GB, free: 15.82 MB / 1.124 GB Notification: Performance of NFPackage.collectConstants: time 0.005565/2.17, allocations: 0.957 MB / 1.299 GB, free: 14.87 MB / 1.124 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/2.181, allocations: 1.827 MB / 1.301 GB, free: 13.04 MB / 1.124 GB Notification: Performance of NFScalarize.scalarize: time 0.005468/2.187, allocations: 2.085 MB / 1.303 GB, free: 10.95 MB / 1.124 GB Notification: Performance of NFVerifyModel.verify: time 0.02142/2.208, allocations: 4.829 MB / 1.308 GB, free: 6.094 MB / 1.124 GB Notification: Performance of NFConvertDAE.convert: time 0.04429/2.253, allocations: 15.67 MB / 1.323 GB, free: 6.371 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/2.253, allocations: 4 kB / 1.323 GB, free: 6.367 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.777e-06/2.253, allocations: 0 / 1.323 GB, free: 6.367 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0008435/2.253, allocations: 0 / 1.323 GB, free: 6.367 MB / 1.139 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.06755/2.321, allocations: 14.47 MB / 1.337 GB, free: 7.809 MB / 1.155 GB Notification: Performance of prepare preOptimizeDAE: time 7.658e-05/2.321, allocations: 12.02 kB / 1.337 GB, free: 7.797 MB / 1.155 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009827/2.331, allocations: 1.494 MB / 1.339 GB, free: 6.297 MB / 1.155 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/2.355, allocations: 6.222 MB / 1.345 GB, free: 15.98 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/2.357, allocations: 0.581 MB / 1.345 GB, free: 15.4 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004189/2.361, allocations: 0.7772 MB / 1.346 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03224/2.393, allocations: 8.138 MB / 1.354 GB, free: 6.105 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005065/2.393, allocations: 15.88 kB / 1.354 GB, free: 6.09 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002898/2.396, allocations: 312 kB / 1.354 GB, free: 5.785 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/2.397, allocations: 188 kB / 1.355 GB, free: 5.602 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/2.423, allocations: 7.403 MB / 1.362 GB, free: 14.18 MB / 1.186 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.1039/2.527, allocations: 30 MB / 1.391 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/2.55, allocations: 7.502 MB / 1.398 GB, free: 8.219 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01012/2.56, allocations: 3.17 MB / 1.401 GB, free: 5.031 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/2.561, allocations: 86.16 kB / 1.402 GB, free: 4.945 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/2.561, allocations: 124.7 kB / 1.402 GB, free: 4.812 MB / 1.217 GB Notification: Performance of pre-optimization done (n=787): time 3.375e-05/2.561, allocations: 0 / 1.402 GB, free: 4.812 MB / 1.217 GB Notification: Performance of matching and sorting (n=787): time 0.0367/2.598, allocations: 10.33 MB / 1.412 GB, free: 10.44 MB / 1.233 GB Notification: Performance of evaluateOutputsOnly (n=787 -> n=337): time 0.04778/2.646, allocations: 22.99 MB / 1.434 GB, free: 3.215 MB / 1.249 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002379/2.646, allocations: 295.7 kB / 1.435 GB, free: 2.863 MB / 1.249 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02568/2.672, allocations: 7.424 MB / 1.442 GB, free: 11.45 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.002728/2.674, allocations: 173.7 kB / 1.442 GB, free: 11.28 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006878/2.681, allocations: 2.816 MB / 1.445 GB, free: 8.445 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.003825/2.685, allocations: 1.263 MB / 1.446 GB, free: 7.172 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01008/2.695, allocations: 1.809 MB / 1.448 GB, free: 5.348 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001691/2.695, allocations: 305.1 kB / 1.448 GB, free: 5.047 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008812/2.704, allocations: 2.928 MB / 1.451 GB, free: 2.102 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/2.715, allocations: 5.325 MB / 1.456 GB, free: 11.96 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/2.732, allocations: 6.511 MB / 1.462 GB, free: 4.848 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/2.732, allocations: 12 kB / 1.462 GB, free: 4.836 MB / 1.28 GB Notification: Performance of matching and sorting (n=1177) (initialization): time 0.0443/2.776, allocations: 12.3 MB / 1.474 GB, free: 8.453 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/2.776, allocations: 20 kB / 1.474 GB, free: 8.434 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/2.777, allocations: 48.16 kB / 1.474 GB, free: 8.387 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02789/2.804, allocations: 5.497 MB / 1.48 GB, free: 2.824 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008608/2.813, allocations: 1.708 MB / 1.482 GB, free: 1.113 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08582/2.899, allocations: 50.82 MB / 1.531 GB, free: 12.16 MB / 1.358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/2.912, allocations: 0.8654 MB / 1.532 GB, free: 11.29 MB / 1.358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002079/2.914, allocations: 332 kB / 1.532 GB, free: 10.96 MB / 1.358 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009392/2.924, allocations: 3.521 MB / 1.536 GB, free: 7.434 MB / 1.358 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007983/2.932, allocations: 5.079 MB / 1.541 GB, free: 1.543 MB / 1.358 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01209/2.944, allocations: 6.183 MB / 1.547 GB, free: 10.75 MB / 1.374 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.688e-05/2.944, allocations: 12 kB / 1.547 GB, free: 10.74 MB / 1.374 GB Notification: Performance of matching and sorting (n=1177) (initialization_lambda0): time 0.02733/2.971, allocations: 10.61 MB / 1.557 GB, free: 64 kB / 1.374 GB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/2.971, allocations: 20 kB / 1.557 GB, free: 44 kB / 1.374 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.466e-05/2.971, allocations: 44 kB / 1.557 GB, free: 0 / 1.374 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02226/2.994, allocations: 4.421 MB / 1.561 GB, free: 11.52 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009051/3.003, allocations: 1.865 MB / 1.563 GB, free: 9.652 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06287/3.066, allocations: 40.69 MB / 1.603 GB, free: 15.05 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0139/3.079, allocations: 0.5943 MB / 1.604 GB, free: 14.45 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002211/3.082, allocations: 324 kB / 1.604 GB, free: 14.14 MB / 1.436 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 (931): * Single equations (assignments): 911 * 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.002395/3.084, allocations: 0.6094 MB / 1.605 GB, free: 13.52 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003888/3.088, allocations: 0.7644 MB / 1.605 GB, free: 12.75 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/3.101, allocations: 5.334 MB / 1.61 GB, free: 7.359 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-05/3.101, allocations: 19.94 kB / 1.61 GB, free: 7.34 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/3.101, allocations: 0 / 1.61 GB, free: 7.34 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008092/3.11, allocations: 1.281 MB / 1.612 GB, free: 6.047 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00376/3.113, allocations: 71.98 kB / 1.612 GB, free: 5.977 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006513/3.12, allocations: 151.9 kB / 1.612 GB, free: 5.828 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/3.121, allocations: 429.6 kB / 1.612 GB, free: 5.406 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01672/3.138, allocations: 5.311 MB / 1.618 GB, free: 56 kB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 1.993/5.131, allocations: 36.88 MB / 1.654 GB, free: 367.4 MB / 1.437 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003657/5.135, allocations: 1.369 MB / 1.655 GB, free: 366.8 MB / 1.437 GB Notification: Performance of sorting global known variables: time 0.01614/5.151, allocations: 4.548 MB / 1.659 GB, free: 365.2 MB / 1.437 GB Notification: Performance of Backend: time 1.292e-06/5.151, allocations: 0 / 1.659 GB, free: 365.2 MB / 1.437 GB Notification: Performance of simCode: created initialization part: time 0.06207/5.213, allocations: 20.89 MB / 1.68 GB, free: 355.4 MB / 1.437 GB Notification: Performance of SimCode: time 0.04995/5.263, allocations: 20.19 MB / 1.699 GB, free: 344.8 MB / 1.437 GB Notification: Performance of Templates: time 0.3109/5.574, allocations: 193.2 MB / 1.888 GB, free: 151.4 MB / 1.437 GB " [Timeout remaining time 594] make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.makefile [Timeout 600] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.785168444737792] Failed to read output from testmodel.py, exit status != 0: 5.587647192180157 5.598253324 3.342190696 Calling exit ...