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.001577/0.001577, allocations: 110.4 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.001692/0.001692, allocations: 215.3 kB / 22.25 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.988 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.0798/0.0798, allocations: 16.95 MB / 329.4 MB, free: 2.57 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.001924/0.001924, allocations: 63.89 kB / 460.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.11, allocations: 57.76 MB / 0.5061 GB, free: 8.07 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.2234/0.3334, allocations: 10.82 MB / 0.5167 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.3386, allocations: 3.825 MB / 0.5204 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.3394, allocations: 31.84 kB / 0.5205 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.3403, allocations: 309 kB / 0.5208 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.3424, allocations: 1.187 MB / 0.5219 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.3431, allocations: 276.3 kB / 0.5222 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3443, allocations: 1.166 MB / 0.5233 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.3447, allocations: 282.1 kB / 0.5236 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.3452, allocations: 431.3 kB / 0.524 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004924/0.3457, allocations: 429.7 kB / 0.5244 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-05/0.3458, allocations: 46.91 kB / 0.5245 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005858/0.3464, allocations: 263.2 kB / 0.5247 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.3465, allocations: 132.1 kB / 0.5248 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.3468, allocations: 377.9 kB / 0.5252 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.3479, allocations: 0.9688 MB / 0.5261 GB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3479, allocations: 1.062 kB / 0.5261 GB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3479, allocations: 0 / 0.5261 GB, free: 7.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3479, allocations: 0 / 0.5261 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.002611/0.3506, allocations: 1.106 MB / 0.5272 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3506, allocations: 9.641 kB / 0.5272 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/0.3511, allocations: 113.8 kB / 0.5273 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.352, allocations: 499 kB / 0.5278 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.352, allocations: 37.16 kB / 0.5278 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.3521, allocations: 47.75 kB / 0.5279 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.3528, allocations: 0.5229 MB / 0.5284 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3528, allocations: 5.938 kB / 0.5284 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.3529, allocations: 18.09 kB / 0.5284 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.3529, allocations: 11.97 kB / 0.5284 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.3534, allocations: 377 kB / 0.5288 GB, free: 5.887 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.003035/0.3564, allocations: 3.849 MB / 0.5326 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.357, allocations: 313.4 kB / 0.5329 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.3572, allocations: 133.4 kB / 0.533 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.3572, allocations: 9.906 kB / 0.533 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3573, allocations: 38.02 kB / 0.533 GB, free: 2.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.3573, allocations: 192 / 0.533 GB, free: 2.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002239/0.3595, allocations: 0.7437 MB / 0.5338 GB, free: 1.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.3595, allocations: 60.44 kB / 0.5338 GB, free: 1.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.3602, allocations: 0.5379 MB / 0.5343 GB, free: 1.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.3602, allocations: 36.11 kB / 0.5344 GB, free: 1.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3604, allocations: 309.6 kB / 0.5347 GB, free: 1.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3605, allocations: 158.5 kB / 0.5348 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3607, allocations: 142.1 kB / 0.535 GB, free: 1.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.3608, allocations: 370.8 kB / 0.5353 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.361, allocations: 159.3 kB / 0.5355 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.3613, allocations: 387.3 kB / 0.5358 GB, free: 416 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.362, allocations: 0.5601 MB / 0.5364 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.362, allocations: 1.438 kB / 0.5364 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001602/0.3636, allocations: 0.7922 MB / 0.5372 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3636, allocations: 12.56 kB / 0.5372 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3636, allocations: 7.031 kB / 0.5372 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.3657, allocations: 383.9 kB / 0.5375 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.3661, allocations: 134 kB / 0.5377 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/0.3719, allocations: 4.896 MB / 0.5424 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/0.3727, allocations: 73 kB / 0.5425 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.3728, allocations: 35.11 kB / 0.5425 GB, free: 11.16 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.0002946/0.373, allocations: 202 kB / 0.5427 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3732, allocations: 66.95 kB / 0.5428 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3742, allocations: 0.492 MB / 0.5433 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3742, allocations: 3.719 kB / 0.5433 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3742, allocations: 0.875 kB / 0.5433 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.3745, allocations: 111.1 kB / 0.5434 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.3746, allocations: 7.438 kB / 0.5434 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.3749, allocations: 22.91 kB / 0.5434 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.375, allocations: 39.03 kB / 0.5435 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001173/0.3762, allocations: 0.5255 MB / 0.544 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009513/0.3772, allocations: 0.6844 MB / 0.5446 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002351/0.3774, allocations: 125.7 kB / 0.5448 GB, free: 9.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004828/0.3779, allocations: 368.8 kB / 0.5451 GB, free: 9.73 MB / 398.1 MB Notification: Performance of Backend: time 6.32e-07/0.3779, allocations: 0 / 0.5451 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.3803, allocations: 0.996 MB / 0.5461 GB, free: 9.109 MB / 398.1 MB Notification: Performance of SimCode: time 0.002161/0.3825, allocations: 1.67 MB / 0.5477 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Templates: time 0.02118/0.4037, allocations: 10.55 MB / 0.558 GB, free: 3.027 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: 4.904448098037392] Failed to read output from testmodel.py, exit status != 0: 0.41197457001544535 0.427381114 0.07632506900000001 Calling exit ...