Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.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.001387/0.001387, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001472/0.001472, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.564/1.564, allocations: 230.6 MB / 256.8 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.08219/0.08219, allocations: 16.95 MB / 330.2 MB, free: 2.574 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.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") [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.002298/0.002298, allocations: 71.83 kB / 461.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1301, allocations: 57.74 MB / 0.5069 GB, free: 8.078 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 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. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.2931/0.4232, allocations: 10.82 MB / 0.5175 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006257/0.4294, allocations: 3.822 MB / 0.5212 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.4304, allocations: 31.09 kB / 0.5212 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.4315, allocations: 310.3 kB / 0.5215 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.4341, allocations: 1.192 MB / 0.5227 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.4349, allocations: 264.9 kB / 0.5229 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.4364, allocations: 1.171 MB / 0.5241 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/0.437, allocations: 282.8 kB / 0.5244 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.4376, allocations: 430.3 kB / 0.5248 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.4381, allocations: 430.1 kB / 0.5252 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.4382, allocations: 47.66 kB / 0.5252 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007361/0.4389, allocations: 266.3 kB / 0.5255 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.439, allocations: 124.8 kB / 0.5256 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.4394, allocations: 373.8 kB / 0.5259 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4407, allocations: 0.9731 MB / 0.5269 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4407, allocations: 4.609 kB / 0.5269 GB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4407, allocations: 0 / 0.5269 GB, free: 7.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4407, allocations: 0 / 0.5269 GB, free: 7.484 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002867/0.4436, allocations: 1.107 MB / 0.528 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4436, allocations: 9.188 kB / 0.528 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.4442, allocations: 113.5 kB / 0.5281 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009825/0.4452, allocations: 495.6 kB / 0.5286 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.4452, allocations: 37.45 kB / 0.5286 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.4453, allocations: 50.84 kB / 0.5287 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.4461, allocations: 0.5194 MB / 0.5292 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4461, allocations: 4 kB / 0.5292 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.4462, allocations: 21.81 kB / 0.5292 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.4462, allocations: 11.91 kB / 0.5292 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007729/0.4469, allocations: 378.9 kB / 0.5296 GB, free: 5.891 MB / 382.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.00399/0.4509, allocations: 3.85 MB / 0.5333 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.4517, allocations: 311.7 kB / 0.5336 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.452, allocations: 140.4 kB / 0.5338 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.452, allocations: 9.688 kB / 0.5338 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.452, allocations: 38.44 kB / 0.5338 GB, free: 2.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.452, allocations: 0 / 0.5338 GB, free: 2.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002701/0.4547, allocations: 0.7362 MB / 0.5345 GB, free: 1.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.4548, allocations: 58.97 kB / 0.5346 GB, free: 1.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.4555, allocations: 0.538 MB / 0.5351 GB, free: 1.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.4555, allocations: 36.81 kB / 0.5351 GB, free: 1.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.4557, allocations: 304.9 kB / 0.5354 GB, free: 1.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.4559, allocations: 155.8 kB / 0.5356 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.4561, allocations: 141.4 kB / 0.5357 GB, free: 1.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4562, allocations: 370.7 kB / 0.5361 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.4565, allocations: 160.4 kB / 0.5362 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.4569, allocations: 385.3 kB / 0.5366 GB, free: 428 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007109/0.4576, allocations: 0.5743 MB / 0.5371 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.4576, allocations: 2.25 kB / 0.5371 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001724/0.4593, allocations: 0.7891 MB / 0.5379 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4594, allocations: 9.719 kB / 0.5379 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4594, allocations: 8.438 kB / 0.5379 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/0.4617, allocations: 387.1 kB / 0.5383 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.4622, allocations: 137.5 kB / 0.5384 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/0.4688, allocations: 4.894 MB / 0.5432 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/0.4697, allocations: 67.92 kB / 0.5433 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.4698, allocations: 35.94 kB / 0.5433 GB, free: 11.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (bus.isSlackBusPF,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0004049/0.4702, allocations: 198.5 kB / 0.5435 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4703, allocations: 64.94 kB / 0.5436 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4715, allocations: 0.4917 MB / 0.544 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4715, allocations: 6.188 kB / 0.544 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4715, allocations: 3.25 kB / 0.5441 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.4718, allocations: 107.5 kB / 0.5442 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.4719, allocations: 11.47 kB / 0.5442 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.4723, allocations: 19.28 kB / 0.5442 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.4724, allocations: 42.8 kB / 0.5442 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001392/0.4738, allocations: 0.5301 MB / 0.5447 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001107/0.4749, allocations: 0.6803 MB / 0.5454 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002732/0.4752, allocations: 132.4 kB / 0.5455 GB, free: 9.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006525/0.4758, allocations: 371.6 kB / 0.5459 GB, free: 9.727 MB / 398.1 MB Notification: Performance of Backend: time 8.71e-07/0.4758, allocations: 0 / 0.5459 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.4791, allocations: 0.9913 MB / 0.5469 GB, free: 9.109 MB / 398.1 MB Notification: Performance of SimCode: time 0.002803/0.4819, allocations: 1.67 MB / 0.5485 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Templates: time 0.02317/0.5051, allocations: 10.55 MB / 0.5588 GB, free: 3.012 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 5.4877292980090715] Failed to read output from testmodel.py, exit status != 0: 0.5142463279771619 0.528395472 0.08445393400000001 Calling exit ...