Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.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.001435/0.001435, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 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.002178/0.002178, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.669/1.669, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08135/0.08135, allocations: 16.95 MB / 326.5 MB, free: 8.629 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 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.00204/0.00204, allocations: 74.14 kB / 456 MB, free: 35.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.115, allocations: 57.7 MB / 0.5017 GB, free: 9.207 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GEN.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GEN.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GRIDL.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GRIDL.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter line.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter line.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter infiniteBus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter infiniteBus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.03631/0.1514, allocations: 33.83 MB / 0.5347 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.1676, allocations: 8.431 MB / 0.543 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003611/0.1713, allocations: 83.38 kB / 0.543 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004329/0.1756, allocations: 1.153 MB / 0.5442 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.1867, allocations: 3.654 MB / 0.5477 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005357/0.1921, allocations: 1.671 MB / 0.5494 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01175/0.2038, allocations: 6.571 MB / 0.5558 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.2065, allocations: 0.8208 MB / 0.5566 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004947/0.2115, allocations: 2.273 MB / 0.5588 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.2162, allocations: 2.331 MB / 0.5611 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.2176, allocations: 300 kB / 0.5614 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.221, allocations: 0.8433 MB / 0.5622 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.2222, allocations: 0.6805 MB / 0.5629 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004484/0.2267, allocations: 2.099 MB / 0.5649 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009287/0.236, allocations: 5.329 MB / 0.5701 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.236, allocations: 0 / 0.5701 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.236, allocations: 0 / 0.5701 GB, free: 2.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.2362, allocations: 0 / 0.5701 GB, free: 2.918 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.01972/0.2559, allocations: 5.318 MB / 0.5753 GB, free: 13.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2559, allocations: 8.031 kB / 0.5753 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.2621, allocations: 0.9004 MB / 0.5762 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/0.2678, allocations: 2.34 MB / 0.5785 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.2679, allocations: 209 kB / 0.5787 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/0.2684, allocations: 252 kB / 0.5789 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/0.2734, allocations: 2.888 MB / 0.5817 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.2735, allocations: 23.8 kB / 0.5818 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.2738, allocations: 112 kB / 0.5819 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/0.2739, allocations: 64 kB / 0.5819 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.2782, allocations: 2.303 MB / 0.5842 GB, free: 3.984 MB / 446.1 MB 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.304/0.5822, allocations: 19.39 MB / 0.6031 GB, free: 62.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/0.5865, allocations: 2.792 MB / 0.6058 GB, free: 61.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.5878, allocations: 0.7572 MB / 0.6066 GB, free: 60.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.588, allocations: 45.27 kB / 0.6066 GB, free: 60.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/0.588, allocations: 61.31 kB / 0.6067 GB, free: 60.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=227): time 5.801e-06/0.588, allocations: 6.375 kB / 0.6067 GB, free: 60.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=227): time 0.01422/0.6022, allocations: 4.18 MB / 0.6108 GB, free: 59.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6023, allocations: 104.4 kB / 0.6109 GB, free: 59.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/0.6076, allocations: 2.587 MB / 0.6134 GB, free: 58.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006101/0.6082, allocations: 73.55 kB / 0.6135 GB, free: 58.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.6093, allocations: 1.332 MB / 0.6148 GB, free: 57.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.6103, allocations: 0.9395 MB / 0.6157 GB, free: 56.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/0.6123, allocations: 1.276 MB / 0.6169 GB, free: 56.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.6124, allocations: 309.7 kB / 0.6172 GB, free: 55.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/0.6154, allocations: 1.82 MB / 0.619 GB, free: 54.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003068/0.6185, allocations: 2.489 MB / 0.6214 GB, free: 53.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004909/0.6234, allocations: 3.57 MB / 0.6249 GB, free: 51.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.6234, allocations: 3.781 kB / 0.6249 GB, free: 51.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01132/0.6347, allocations: 6.155 MB / 0.6309 GB, free: 47.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.6348, allocations: 12 kB / 0.631 GB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.6348, allocations: 11.84 kB / 0.631 GB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005787/0.6406, allocations: 1.086 MB / 0.632 GB, free: 46.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/0.646, allocations: 1.357 MB / 0.6333 GB, free: 45.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.6587, allocations: 10.86 MB / 0.644 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/0.6648, allocations: 447.6 kB / 0.6444 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008492/0.6657, allocations: 228 kB / 0.6446 GB, free: 33.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 5 (infiniteBus.componentPF.isSlackBus,bus.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GEN.componentPF.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 847 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001575/0.6673, allocations: 0.6812 MB / 0.6453 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008263/0.6681, allocations: 318 kB / 0.6456 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.6723, allocations: 2.34 MB / 0.6479 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.6723, allocations: 15.95 kB / 0.6479 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6723, allocations: 2.688 kB / 0.6479 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/0.6744, allocations: 0.6713 MB / 0.6485 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009016/0.6753, allocations: 43.92 kB / 0.6486 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/0.6781, allocations: 83.95 kB / 0.6486 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.6784, allocations: 173.7 kB / 0.6488 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004906/0.6833, allocations: 2.42 MB / 0.6512 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004234/0.6876, allocations: 2.855 MB / 0.654 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009408/0.6885, allocations: 0.6559 MB / 0.6546 GB, free: 22.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002485/0.691, allocations: 1.573 MB / 0.6561 GB, free: 21.27 MB / 446.1 MB Notification: Performance of Backend: time 1.072e-06/0.691, allocations: 0 / 0.6561 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01092/0.7019, allocations: 4.518 MB / 0.6606 GB, free: 16.77 MB / 446.1 MB Notification: Performance of SimCode: time 0.008898/0.7108, allocations: 5.522 MB / 0.6659 GB, free: 11.24 MB / 446.1 MB Notification: Performance of Templates: time 0.1177/0.8285, allocations: 46.67 MB / 0.7115 GB, free: 12.7 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.606835874961689] Failed to read output from testmodel.py, exit status != 0: 0.8384621989680454 0.855300861 0.61591875 Calling exit ...