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.001344/0.001344, allocations: 103.2 kB / 16.45 MB, free: 6.504 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.001444/0.001444, allocations: 212.9 kB / 19.43 MB, free: 3.66 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 9 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.08659/0.08659, allocations: 16.95 MB / 325.8 MB, free: 3.766 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.002068/0.002068, allocations: 63.91 kB / 455.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1301, allocations: 57.71 MB / 0.501 GB, free: 10.56 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.2425/0.3726, allocations: 10.79 MB / 0.5116 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.3785, allocations: 3.802 MB / 0.5153 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.3796, allocations: 30.38 kB / 0.5153 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3806, allocations: 319 kB / 0.5156 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.383, allocations: 1.186 MB / 0.5168 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007175/0.3837, allocations: 277.3 kB / 0.517 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.385, allocations: 1.171 MB / 0.5182 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.3854, allocations: 170.1 kB / 0.5183 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.3859, allocations: 432.8 kB / 0.5187 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.3864, allocations: 431.4 kB / 0.5192 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.3865, allocations: 47.34 kB / 0.5192 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006688/0.3872, allocations: 270.3 kB / 0.5195 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.3873, allocations: 122.9 kB / 0.5196 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.3876, allocations: 372 kB / 0.5199 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.389, allocations: 0.9676 MB / 0.5209 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.389, allocations: 5.156 kB / 0.5209 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.389, allocations: 0 / 0.5209 GB, free: 8.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.389, allocations: 0 / 0.5209 GB, free: 8.215 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.002932/0.3919, allocations: 1.183 MB / 0.522 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.392, allocations: 8.156 kB / 0.522 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/0.3926, allocations: 110.5 kB / 0.5221 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.3935, allocations: 0.5517 MB / 0.5227 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.3935, allocations: 38.47 kB / 0.5227 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3936, allocations: 48.97 kB / 0.5228 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.3943, allocations: 0.5231 MB / 0.5233 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3943, allocations: 5 kB / 0.5233 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.3944, allocations: 19.34 kB / 0.5233 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.3944, allocations: 10.59 kB / 0.5233 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.395, allocations: 380.3 kB / 0.5237 GB, free: 6.477 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.003371/0.3984, allocations: 3.875 MB / 0.5275 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.399, allocations: 0.6089 MB / 0.5281 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.3993, allocations: 136.4 kB / 0.5282 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.3993, allocations: 9.5 kB / 0.5282 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3993, allocations: 40.59 kB / 0.5282 GB, free: 2.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.3993, allocations: 1.219 kB / 0.5282 GB, free: 2.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002398/0.4017, allocations: 0.8137 MB / 0.529 GB, free: 2.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.4017, allocations: 54.91 kB / 0.5291 GB, free: 2.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.4024, allocations: 0.5423 MB / 0.5296 GB, free: 1.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.4025, allocations: 37.67 kB / 0.5296 GB, free: 1.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.4027, allocations: 308.1 kB / 0.5299 GB, free: 1.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.4028, allocations: 166 kB / 0.5301 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.403, allocations: 143.1 kB / 0.5302 GB, free: 1.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.4031, allocations: 365.8 kB / 0.5306 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.4034, allocations: 160.1 kB / 0.5307 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.4037, allocations: 386.1 kB / 0.5311 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.4044, allocations: 0.5663 MB / 0.5317 GB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.4044, allocations: 4.031 kB / 0.5317 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001865/0.4062, allocations: 0.7901 MB / 0.5324 GB, free: 15.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4063, allocations: 7.844 kB / 0.5324 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.4063, allocations: 11.62 kB / 0.5325 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/0.4087, allocations: 383.6 kB / 0.5328 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.4092, allocations: 138.6 kB / 0.5329 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/0.4156, allocations: 5.212 MB / 0.538 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009295/0.4165, allocations: 70 kB / 0.5381 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.4166, allocations: 31.31 kB / 0.5381 GB, free: 10.92 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.0003276/0.4169, allocations: 202.3 kB / 0.5383 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.417, allocations: 64.45 kB / 0.5384 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.4182, allocations: 0.4939 MB / 0.5389 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4182, allocations: 1.875 kB / 0.5389 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4182, allocations: 4.75 kB / 0.5389 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.4185, allocations: 178.8 kB / 0.539 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.4186, allocations: 10.22 kB / 0.5391 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.419, allocations: 16.42 kB / 0.5391 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.4191, allocations: 41.08 kB / 0.5391 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001271/0.4204, allocations: 0.531 MB / 0.5396 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001003/0.4214, allocations: 0.6801 MB / 0.5403 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002401/0.4216, allocations: 131.2 kB / 0.5404 GB, free: 9.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005135/0.4221, allocations: 367.7 kB / 0.5408 GB, free: 9.41 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.4221, allocations: 0 / 0.5408 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.4248, allocations: 1.013 MB / 0.5418 GB, free: 8.785 MB / 398.1 MB Notification: Performance of SimCode: time 0.002402/0.4272, allocations: 1.645 MB / 0.5434 GB, free: 7.645 MB / 398.1 MB Notification: Performance of Templates: time 0.02238/0.4496, allocations: 10.2 MB / 0.5533 GB, free: 3.125 MB / 398.1 MB " [Timeout remaining time 660] 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.269567847950384] Failed to read output from testmodel.py, exit status != 0: 0.4589464880991727 0.472323625 0.080379845 Calling exit ...