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.001309/0.001309, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001608/0.001608, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.992 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.08136/0.08136, allocations: 16.95 MB / 329.4 MB, free: 2.586 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.00224/0.00224, allocations: 63.89 kB / 460.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1061, allocations: 57.74 MB / 0.5061 GB, free: 8.094 MB / 382.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.2189/0.325, allocations: 33.86 MB / 0.5392 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.341, allocations: 8.45 MB / 0.5474 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004084/0.3451, allocations: 81.78 kB / 0.5475 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.3495, allocations: 1.155 MB / 0.5486 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.3612, allocations: 3.655 MB / 0.5522 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004772/0.366, allocations: 1.675 MB / 0.5539 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.3764, allocations: 6.561 MB / 0.5603 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/0.3797, allocations: 1.566 MB / 0.5618 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004941/0.3846, allocations: 2.276 MB / 0.564 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004809/0.3894, allocations: 2.341 MB / 0.5663 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.3906, allocations: 300.1 kB / 0.5666 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.3942, allocations: 0.8382 MB / 0.5674 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.3953, allocations: 0.6858 MB / 0.5681 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004647/0.4, allocations: 2.085 MB / 0.5701 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009752/0.4097, allocations: 5.331 MB / 0.5753 GB, free: 3.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4097, allocations: 1.75 kB / 0.5753 GB, free: 3.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4098, allocations: 0 / 0.5753 GB, free: 3.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001606/0.4099, allocations: 0 / 0.5753 GB, free: 3.781 MB / 414.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.02039/0.4303, allocations: 5.248 MB / 0.5804 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4303, allocations: 8.031 kB / 0.5804 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/0.4367, allocations: 0.912 MB / 0.5813 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006318/0.443, allocations: 2.245 MB / 0.5835 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.4432, allocations: 197 kB / 0.5837 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006718/0.4439, allocations: 256 kB / 0.584 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006005/0.4499, allocations: 2.896 MB / 0.5868 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.629e-05/0.45, allocations: 11.88 kB / 0.5868 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/0.4504, allocations: 108 kB / 0.5869 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.4504, allocations: 64 kB / 0.587 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004458/0.4549, allocations: 2.311 MB / 0.5892 GB, free: 5.453 MB / 430.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.02891/0.4838, allocations: 19.3 MB / 0.6081 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004261/0.4881, allocations: 1.971 MB / 0.61 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.4895, allocations: 0.7579 MB / 0.6107 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.4896, allocations: 46.02 kB / 0.6108 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.4897, allocations: 64.5 kB / 0.6108 GB, free: 14.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=227): time 5.35e-06/0.4897, allocations: 0 / 0.6108 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.01298/0.5027, allocations: 4.019 MB / 0.6148 GB, free: 10.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.5027, allocations: 103.1 kB / 0.6149 GB, free: 10.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005228/0.508, allocations: 2.588 MB / 0.6174 GB, free: 7.543 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003806/0.5084, allocations: 73.7 kB / 0.6175 GB, free: 7.465 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.51, allocations: 1.319 MB / 0.6187 GB, free: 6.133 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001446/0.5115, allocations: 0.9535 MB / 0.6197 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003484/0.5149, allocations: 1.273 MB / 0.6209 GB, free: 3.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5151, allocations: 309.1 kB / 0.6212 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/0.5189, allocations: 1.822 MB / 0.623 GB, free: 1.762 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/0.5234, allocations: 2.486 MB / 0.6254 GB, free: 15.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006572/0.5299, allocations: 3.576 MB / 0.6289 GB, free: 11.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/0.53, allocations: 4 kB / 0.6289 GB, free: 11.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01379/0.5437, allocations: 6.159 MB / 0.6349 GB, free: 5.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.5438, allocations: 8 kB / 0.6349 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.5438, allocations: 15.92 kB / 0.635 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/0.5497, allocations: 1.087 MB / 0.636 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005575/0.5553, allocations: 1.357 MB / 0.6373 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.5717, allocations: 10.44 MB / 0.6475 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/0.5774, allocations: 449.2 kB / 0.648 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009195/0.5783, allocations: 228 kB / 0.6482 GB, free: 7.203 MB / 494.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.002143/0.5805, allocations: 0.6916 MB / 0.6489 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/0.5816, allocations: 318 kB / 0.6492 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.5868, allocations: 2.337 MB / 0.6514 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/0.5869, allocations: 7.969 kB / 0.6514 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5869, allocations: 0 / 0.6514 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/0.5889, allocations: 0.6029 MB / 0.652 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00079/0.5897, allocations: 36 kB / 0.6521 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/0.5922, allocations: 91.88 kB / 0.6522 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.5925, allocations: 173.6 kB / 0.6523 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005762/0.5983, allocations: 2.416 MB / 0.6547 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004918/0.6032, allocations: 2.854 MB / 0.6575 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/0.6043, allocations: 0.6676 MB / 0.6581 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003016/0.6074, allocations: 1.566 MB / 0.6597 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Backend: time 4.31e-07/0.6074, allocations: 0 / 0.6597 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01219/0.6195, allocations: 4.525 MB / 0.6641 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01066/0.6302, allocations: 5.517 MB / 0.6695 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.09145/0.7216, allocations: 48.93 MB / 0.7172 GB, free: 400 kB / 0.545 GB " [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: 6.778180436929688] Failed to read output from testmodel.py, exit status != 0: 0.7313480519223958 0.746696356 0.333532888 Calling exit ...