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.001699/0.001699, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002193/0.002193, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.621/1.621, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.08134/0.08134, allocations: 16.95 MB / 326.5 MB, free: 8.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.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.001971/0.001971, allocations: 71.69 kB / 456 MB, free: 35.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1242, allocations: 57.72 MB / 0.5017 GB, free: 9.148 MB / 366.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.01341/0.1376, allocations: 10.8 MB / 0.5123 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.1459, allocations: 3.815 MB / 0.516 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.1477, allocations: 31.75 kB / 0.516 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.1491, allocations: 306.3 kB / 0.5163 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.1526, allocations: 1.183 MB / 0.5175 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.1533, allocations: 271.9 kB / 0.5177 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.1553, allocations: 1.175 MB / 0.5189 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005208/0.1558, allocations: 165.8 kB / 0.519 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008301/0.1567, allocations: 426.4 kB / 0.5194 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005936/0.1573, allocations: 434.2 kB / 0.5198 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/0.1574, allocations: 47.94 kB / 0.5199 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.1581, allocations: 263.8 kB / 0.5201 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1583, allocations: 123.3 kB / 0.5203 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.1587, allocations: 378 kB / 0.5206 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.1602, allocations: 0.9767 MB / 0.5216 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1602, allocations: 4 kB / 0.5216 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1602, allocations: 0 / 0.5216 GB, free: 4.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1602, allocations: 0 / 0.5216 GB, free: 4.727 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.003072/0.1633, allocations: 1.168 MB / 0.5227 GB, free: 3.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1633, allocations: 12.02 kB / 0.5227 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.1639, allocations: 112.4 kB / 0.5228 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.165, allocations: 0.5597 MB / 0.5234 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.165, allocations: 37.38 kB / 0.5234 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.1651, allocations: 44.38 kB / 0.5235 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008799/0.166, allocations: 0.522 MB / 0.524 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.166, allocations: 7.938 kB / 0.524 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.166, allocations: 16 kB / 0.524 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.166, allocations: 12 kB / 0.524 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.1667, allocations: 375.5 kB / 0.5244 GB, free: 1.711 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.004747/0.1715, allocations: 3.884 MB / 0.5282 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.1723, allocations: 0.6095 MB / 0.5288 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.1725, allocations: 136.6 kB / 0.5289 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.1726, allocations: 7.984 kB / 0.5289 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1726, allocations: 38.56 kB / 0.5289 GB, free: 12.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.615e-06/0.1726, allocations: 0 / 0.5289 GB, free: 12.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=41): time 0.00259/0.1752, allocations: 0.8111 MB / 0.5297 GB, free: 11.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1753, allocations: 63.34 kB / 0.5298 GB, free: 11.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.1761, allocations: 0.5418 MB / 0.5303 GB, free: 11.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.1761, allocations: 37.7 kB / 0.5303 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1764, allocations: 305 kB / 0.5306 GB, free: 10.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.1766, allocations: 158.7 kB / 0.5308 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.1768, allocations: 142.6 kB / 0.5309 GB, free: 10.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.177, allocations: 366.8 kB / 0.5313 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.1774, allocations: 165.9 kB / 0.5314 GB, free: 9.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.1779, allocations: 385 kB / 0.5318 GB, free: 9.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.1787, allocations: 0.5656 MB / 0.5323 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.1787, allocations: 4 kB / 0.5324 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001865/0.1806, allocations: 0.7897 MB / 0.5331 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1806, allocations: 8 kB / 0.5331 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1806, allocations: 11.94 kB / 0.5331 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.183, allocations: 398.6 kB / 0.5335 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1835, allocations: 131.8 kB / 0.5336 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.1903, allocations: 5.211 MB / 0.5387 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.1913, allocations: 75.55 kB / 0.5388 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.1914, allocations: 31.98 kB / 0.5388 GB, free: 1.73 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.0004056/0.1918, allocations: 199 kB / 0.539 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.1919, allocations: 64.14 kB / 0.5391 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.1931, allocations: 0.4925 MB / 0.5396 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1931, allocations: 0 / 0.5396 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1931, allocations: 0 / 0.5396 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.1934, allocations: 188.6 kB / 0.5398 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.1935, allocations: 8 kB / 0.5398 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.1939, allocations: 19.92 kB / 0.5398 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.194, allocations: 39.94 kB / 0.5398 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001283/0.1952, allocations: 0.5368 MB / 0.5403 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001033/0.1963, allocations: 0.676 MB / 0.541 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002464/0.1965, allocations: 136.5 kB / 0.5411 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000483/0.197, allocations: 362.8 kB / 0.5415 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.197, allocations: 0 / 0.5415 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.1996, allocations: 1.003 MB / 0.5425 GB, free: 13.92 MB / 414.1 MB Notification: Performance of SimCode: time 0.002462/0.2021, allocations: 1.642 MB / 0.5441 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.02172/0.2238, allocations: 10.21 MB / 0.554 GB, free: 2.055 MB / 414.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.335147207020782] Failed to read output from testmodel.py, exit status != 0: 0.23204086505575106 0.24655999999999995 0.083318575 Calling exit ...