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.001385/0.001385, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001501/0.001501, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.0794/0.0794, allocations: 16.95 MB / 330.1 MB, free: 2.613 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: 71.86 kB / 461.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1212, allocations: 57.75 MB / 0.5069 GB, free: 8.109 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.2473/0.3685, allocations: 33.86 MB / 0.5399 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.3847, allocations: 8.44 MB / 0.5482 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004133/0.3888, allocations: 84.53 kB / 0.5482 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004375/0.3932, allocations: 1.167 MB / 0.5494 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.4047, allocations: 3.644 MB / 0.5529 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.4093, allocations: 1.671 MB / 0.5546 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.4204, allocations: 6.567 MB / 0.561 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.4238, allocations: 1.565 MB / 0.5625 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.4284, allocations: 2.285 MB / 0.5648 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004896/0.4333, allocations: 2.329 MB / 0.567 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009078/0.4342, allocations: 299.5 kB / 0.5673 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.4376, allocations: 0.8469 MB / 0.5681 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007723/0.4383, allocations: 0.6815 MB / 0.5688 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004022/0.4423, allocations: 2.081 MB / 0.5708 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.4513, allocations: 5.344 MB / 0.5761 GB, free: 3.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.4513, allocations: 0 / 0.5761 GB, free: 3.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4513, allocations: 0 / 0.5761 GB, free: 3.797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.4514, allocations: 0 / 0.5761 GB, free: 3.797 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.01892/0.4703, allocations: 5.237 MB / 0.5812 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.4704, allocations: 8.031 kB / 0.5812 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/0.4762, allocations: 0.912 MB / 0.5821 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/0.4827, allocations: 2.245 MB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.4828, allocations: 202.5 kB / 0.5845 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/0.4832, allocations: 256 kB / 0.5847 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005712/0.489, allocations: 2.892 MB / 0.5875 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/0.489, allocations: 11.88 kB / 0.5875 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.4893, allocations: 112 kB / 0.5876 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.4894, allocations: 64 kB / 0.5877 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.4935, allocations: 2.311 MB / 0.59 GB, free: 5.504 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.02959/0.5231, allocations: 19.29 MB / 0.6088 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.5272, allocations: 1.978 MB / 0.6107 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.5285, allocations: 0.7618 MB / 0.6115 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.5287, allocations: 41.91 kB / 0.6115 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.5288, allocations: 68.55 kB / 0.6116 GB, free: 14.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=227): time 5.26e-06/0.5288, allocations: 0 / 0.6116 GB, free: 14.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.01276/0.5415, allocations: 4.018 MB / 0.6155 GB, free: 10.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.5416, allocations: 107 kB / 0.6156 GB, free: 10.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/0.5461, allocations: 2.584 MB / 0.6181 GB, free: 7.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004196/0.5466, allocations: 73.7 kB / 0.6182 GB, free: 7.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.5479, allocations: 1.331 MB / 0.6195 GB, free: 6.168 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/0.5492, allocations: 0.9379 MB / 0.6204 GB, free: 5.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/0.5512, allocations: 1.281 MB / 0.6217 GB, free: 3.934 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5514, allocations: 305.1 kB / 0.622 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/0.5546, allocations: 1.818 MB / 0.6237 GB, free: 1.812 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/0.5586, allocations: 2.493 MB / 0.6262 GB, free: 15.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/0.5644, allocations: 3.573 MB / 0.6297 GB, free: 11.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.5645, allocations: 4 kB / 0.6297 GB, free: 11.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01218/0.5766, allocations: 6.159 MB / 0.6357 GB, free: 5.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.5767, allocations: 12 kB / 0.6357 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.5767, allocations: 8 kB / 0.6357 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005983/0.5827, allocations: 1.075 MB / 0.6367 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/0.5887, allocations: 1.361 MB / 0.6381 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.6047, allocations: 10.43 MB / 0.6483 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006526/0.6112, allocations: 453.1 kB / 0.6487 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008387/0.6121, allocations: 224 kB / 0.6489 GB, free: 7.262 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.001821/0.6139, allocations: 0.6955 MB / 0.6496 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00086/0.6148, allocations: 314 kB / 0.6499 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.6197, allocations: 2.337 MB / 0.6522 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/0.6197, allocations: 11.95 kB / 0.6522 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.6197, allocations: 4 kB / 0.6522 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/0.622, allocations: 0.5951 MB / 0.6528 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007104/0.6227, allocations: 36 kB / 0.6528 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/0.625, allocations: 95.88 kB / 0.6529 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.6253, allocations: 181.6 kB / 0.6531 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005588/0.6309, allocations: 2.405 MB / 0.6554 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005014/0.6359, allocations: 2.858 MB / 0.6582 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001136/0.637, allocations: 0.6559 MB / 0.6588 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002709/0.6398, allocations: 1.566 MB / 0.6604 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Backend: time 7.31e-07/0.6398, allocations: 0 / 0.6604 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01159/0.6513, allocations: 4.529 MB / 0.6648 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01175/0.6631, allocations: 6.76 MB / 0.6714 GB, free: 100 kB / 0.4981 GB Notification: Performance of Templates: time 0.3015/0.9646, allocations: 72.22 MB / 0.7419 GB, free: 183.6 MB / 0.5606 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.69252484687604] Failed to read output from testmodel.py, exit status != 0: 0.9738456860650331 0.984905831 0.530994146 Calling exit ...