Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.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.001838/0.001838, allocations: 87.67 kB / 21.43 MB, free: 292 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.002429/0.002429, allocations: 158.9 kB / 24.69 MB, free: 3.562 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.634/1.634, allocations: 158.6 MB / 186.5 MB, free: 6.406 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.064/0.064, allocations: 10.65 MB / 249.4 MB, free: 10.44 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 3.927/3.927, allocations: 339.2 MB / 0.6295 GB, free: 9.273 MB / 0.5607 GB " [Timeout remaining time 175] 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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") translateModel(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") [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.004398/0.004398, allocations: 92.39 kB / 1.005 GB, free: 1.07 MB / 0.9202 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789/1.794, allocations: 182.6 MB / 1.184 GB, free: 11.4 MB / 1.014 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.0698/1.863, allocations: 54.46 MB / 1.237 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.06206/1.925, allocations: 22.13 MB / 1.258 GB, free: 8.898 MB / 1.077 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02271/1.948, allocations: 305.8 kB / 1.259 GB, free: 8.598 MB / 1.077 GB Notification: Performance of NFTyping.typeComponents: time 0.01713/1.965, allocations: 3.188 MB / 1.262 GB, free: 5.387 MB / 1.077 GB Notification: Performance of NFTyping.typeBindings: time 0.04414/2.009, allocations: 9.385 MB / 1.271 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01463/2.024, allocations: 3.272 MB / 1.274 GB, free: 8.703 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.04888/2.073, allocations: 22.14 MB / 1.296 GB, free: 2.492 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008593/2.082, allocations: 1.403 MB / 1.297 GB, free: 1.012 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03823/2.12, allocations: 10.87 MB / 1.308 GB, free: 6.109 MB / 1.124 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01906/2.139, allocations: 6.872 MB / 1.314 GB, free: 15.2 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.006549/2.145, allocations: 1.047 MB / 1.315 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/2.159, allocations: 2.03 MB / 1.317 GB, free: 12.13 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.006109/2.165, allocations: 2.311 MB / 1.32 GB, free: 9.809 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01915/2.184, allocations: 5.49 MB / 1.325 GB, free: 4.293 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.04507/2.229, allocations: 17.58 MB / 1.342 GB, free: 2.652 MB / 1.155 GB Notification: Performance of FrontEnd - DAE generated: time 1.939e-05/2.229, allocations: 4 kB / 1.342 GB, free: 2.648 MB / 1.155 GB Notification: Performance of FrontEnd: time 3.877e-06/2.229, allocations: 0 / 1.342 GB, free: 2.648 MB / 1.155 GB Notification: Performance of Transformations before backend: time 0.0009243/2.23, allocations: 3.938 kB / 1.342 GB, free: 2.645 MB / 1.155 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.07737/2.307, allocations: 16.48 MB / 1.358 GB, free: 2.055 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 8.463e-05/2.307, allocations: 8.031 kB / 1.358 GB, free: 2.047 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/2.32, allocations: 1.707 MB / 1.36 GB, free: 340 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03021/2.35, allocations: 6.965 MB / 1.367 GB, free: 9.254 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001723/2.352, allocations: 0.6496 MB / 1.367 GB, free: 8.602 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006411/2.358, allocations: 0.871 MB / 1.368 GB, free: 7.73 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03686/2.395, allocations: 9.232 MB / 1.377 GB, free: 14.04 MB / 1.202 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006151/2.396, allocations: 15.88 kB / 1.377 GB, free: 14.02 MB / 1.202 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003555/2.399, allocations: 356 kB / 1.378 GB, free: 13.67 MB / 1.202 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002884/2.4, allocations: 215.9 kB / 1.378 GB, free: 13.46 MB / 1.202 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02977/2.43, allocations: 8.406 MB / 1.386 GB, free: 5.035 MB / 1.202 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.1248/2.554, allocations: 34.59 MB / 1.42 GB, free: 1.703 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02482/2.579, allocations: 8.743 MB / 1.428 GB, free: 9.219 MB / 1.249 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0113/2.59, allocations: 3.57 MB / 1.432 GB, free: 5.637 MB / 1.249 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/2.592, allocations: 103 kB / 1.432 GB, free: 5.535 MB / 1.249 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/2.592, allocations: 133.7 kB / 1.432 GB, free: 5.395 MB / 1.249 GB Notification: Performance of pre-optimization done (n=909): time 4.23e-05/2.592, allocations: 4 kB / 1.432 GB, free: 5.391 MB / 1.249 GB Notification: Performance of matching and sorting (n=909): time 0.04253/2.635, allocations: 11.9 MB / 1.444 GB, free: 9.477 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004969/2.635, allocations: 352.2 kB / 1.444 GB, free: 9.07 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0205/2.656, allocations: 6.286 MB / 1.45 GB, free: 2.824 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.002338/2.658, allocations: 189.7 kB / 1.45 GB, free: 2.633 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006586/2.665, allocations: 4.134 MB / 1.454 GB, free: 14.47 MB / 1.28 GB Notification: Performance of collectInitialBindings (initialization): time 0.00771/2.672, allocations: 3.292 MB / 1.458 GB, free: 11.15 MB / 1.28 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009376/2.682, allocations: 1.706 MB / 1.459 GB, free: 9.434 MB / 1.28 GB Notification: Performance of setup shared object (initialization): time 0.0001948/2.682, allocations: 309.1 kB / 1.46 GB, free: 9.129 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0103/2.692, allocations: 3.244 MB / 1.463 GB, free: 5.875 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01447/2.707, allocations: 5.836 MB / 1.468 GB, free: 15.16 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02496/2.732, allocations: 8.546 MB / 1.477 GB, free: 5.895 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/2.732, allocations: 16 kB / 1.477 GB, free: 5.879 MB / 1.295 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.05185/2.784, allocations: 13.71 MB / 1.49 GB, free: 8.02 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/2.784, allocations: 28 kB / 1.49 GB, free: 7.992 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/2.784, allocations: 44 kB / 1.49 GB, free: 7.949 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03228/2.816, allocations: 6.185 MB / 1.496 GB, free: 1.699 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/2.827, allocations: 1.919 MB / 1.498 GB, free: 15.78 MB / 1.327 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1038/2.93, allocations: 54.74 MB / 1.552 GB, free: 6.934 MB / 1.374 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0145/2.945, allocations: 0.8465 MB / 1.552 GB, free: 6.082 MB / 1.374 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002694/2.948, allocations: 372 kB / 1.553 GB, free: 5.719 MB / 1.374 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01625/2.964, allocations: 4.223 MB / 1.557 GB, free: 1.488 MB / 1.374 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01471/2.979, allocations: 5.594 MB / 1.562 GB, free: 11.02 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02555/3.004, allocations: 8.218 MB / 1.57 GB, free: 2.078 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001247/3.004, allocations: 16 kB / 1.57 GB, free: 2.062 MB / 1.389 GB Notification: Performance of matching and sorting (n=1333) (initialization_lambda0): time 0.0451/3.049, allocations: 12.01 MB / 1.582 GB, free: 5.914 MB / 1.405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/3.05, allocations: 35.19 kB / 1.582 GB, free: 5.883 MB / 1.405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/3.05, allocations: 44 kB / 1.582 GB, free: 5.84 MB / 1.405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0275/3.077, allocations: 5.113 MB / 1.587 GB, free: 0.6641 MB / 1.405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/3.088, allocations: 2.067 MB / 1.589 GB, free: 14.59 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901/4.988, allocations: 44.71 MB / 1.633 GB, free: 367.5 MB / 1.437 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01453/5.003, allocations: 0.6539 MB / 1.634 GB, free: 367.5 MB / 1.437 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004543/5.007, allocations: 374.1 kB / 1.634 GB, free: 367.5 MB / 1.437 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 (1043): * Single equations (assignments): 1023 * 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.007473/5.015, allocations: 0.7301 MB / 1.635 GB, free: 367.3 MB / 1.437 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009139/5.024, allocations: 0.9311 MB / 1.636 GB, free: 367.3 MB / 1.437 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04019/5.064, allocations: 9.826 MB / 1.645 GB, free: 363.9 MB / 1.437 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006442/5.065, allocations: 41.62 kB / 1.645 GB, free: 363.9 MB / 1.437 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001013/5.065, allocations: 3.938 kB / 1.645 GB, free: 363.9 MB / 1.437 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01318/5.078, allocations: 1.798 MB / 1.647 GB, free: 363 MB / 1.437 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007841/5.086, allocations: 157.4 kB / 1.647 GB, free: 362.9 MB / 1.437 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01504/5.101, allocations: 276.4 kB / 1.647 GB, free: 362.7 MB / 1.437 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003919/5.105, allocations: 0.7626 MB / 1.648 GB, free: 362.7 MB / 1.437 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03747/5.142, allocations: 9.269 MB / 1.657 GB, free: 359.4 MB / 1.437 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1557/5.298, allocations: 45.93 MB / 1.702 GB, free: 336.8 MB / 1.437 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00755/5.306, allocations: 2.821 MB / 1.705 GB, free: 335.6 MB / 1.437 GB Notification: Performance of sorting global known variables: time 0.01133/5.317, allocations: 3.973 MB / 1.709 GB, free: 332.4 MB / 1.437 GB Notification: Performance of Backend: time 1.092e-06/5.317, allocations: 0 / 1.709 GB, free: 332.4 MB / 1.437 GB Notification: Performance of simCode: created initialization part: time 0.07492/5.392, allocations: 23.56 MB / 1.732 GB, free: 308.7 MB / 1.437 GB Notification: Performance of SimCode: time 0.06955/5.461, allocations: 30.42 MB / 1.761 GB, free: 278.2 MB / 1.437 GB Notification: Performance of Templates: time 0.3682/5.83, allocations: 230 MB / 1.986 GB, free: 47.94 MB / 1.437 GB " [Timeout remaining time 594] make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile [Timeout 600] (rm -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 20.29231458902359] Failed to read output from testmodel.py, exit status != 0: 5.8441287484019995 5.853670375 3.621336755 Calling exit ...