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.001427/0.001427, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001799/0.001799, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.781 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.08733/0.08733, allocations: 16.92 MB / 329.4 MB, free: 2.41 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.002729/0.002729, allocations: 63.89 kB / 460.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.141, allocations: 57.73 MB / 0.506 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.2877/0.4287, allocations: 9.44 MB / 0.5152 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006681/0.4354, allocations: 3.531 MB / 0.5187 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.4367, allocations: 32.91 kB / 0.5187 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.4379, allocations: 304.2 kB / 0.519 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.4407, allocations: 1.128 MB / 0.5201 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.4416, allocations: 273.2 kB / 0.5203 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.4431, allocations: 1.16 MB / 0.5215 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.4436, allocations: 284.2 kB / 0.5217 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.4443, allocations: 426.9 kB / 0.5222 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.4449, allocations: 398 kB / 0.5225 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.546e-05/0.445, allocations: 46.06 kB / 0.5226 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007287/0.4457, allocations: 257.6 kB / 0.5228 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.4458, allocations: 124.6 kB / 0.5229 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.4461, allocations: 306.2 kB / 0.5232 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.4476, allocations: 0.9803 MB / 0.5242 GB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4476, allocations: 4.656 kB / 0.5242 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4476, allocations: 0 / 0.5242 GB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4476, allocations: 3.938 kB / 0.5242 GB, free: 8.277 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.002883/0.4505, allocations: 1.1 MB / 0.5253 GB, free: 7.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4505, allocations: 8.625 kB / 0.5253 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.451, allocations: 114.5 kB / 0.5254 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4521, allocations: 493.7 kB / 0.5259 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.4521, allocations: 38.2 kB / 0.5259 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.4522, allocations: 47.78 kB / 0.5259 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.453, allocations: 0.596 MB / 0.5265 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4531, allocations: 5.438 kB / 0.5265 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.4531, allocations: 17.78 kB / 0.5265 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4531, allocations: 11.34 kB / 0.5266 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.4538, allocations: 375 kB / 0.5269 GB, free: 6.598 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.003074/0.4568, allocations: 2.766 MB / 0.5296 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.4574, allocations: 304.8 kB / 0.5299 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.4576, allocations: 139.9 kB / 0.53 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.4577, allocations: 5.797 kB / 0.53 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4577, allocations: 40.64 kB / 0.5301 GB, free: 4.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.396e-06/0.4577, allocations: 7.938 kB / 0.5301 GB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002313/0.46, allocations: 0.7382 MB / 0.5308 GB, free: 3.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.46, allocations: 55.69 kB / 0.5309 GB, free: 3.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.4608, allocations: 0.5253 MB / 0.5314 GB, free: 3.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.4608, allocations: 36.8 kB / 0.5314 GB, free: 3.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.461, allocations: 313.8 kB / 0.5317 GB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.4611, allocations: 158.8 kB / 0.5319 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.4613, allocations: 127.2 kB / 0.532 GB, free: 2.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4614, allocations: 366.4 kB / 0.5323 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.4617, allocations: 150.3 kB / 0.5325 GB, free: 2.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.4621, allocations: 427 kB / 0.5329 GB, free: 2.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.4628, allocations: 0.5466 MB / 0.5334 GB, free: 1.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4628, allocations: 2.656 kB / 0.5334 GB, free: 1.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001613/0.4644, allocations: 0.7609 MB / 0.5342 GB, free: 1.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.4644, allocations: 6.781 kB / 0.5342 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4644, allocations: 8.594 kB / 0.5342 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.4666, allocations: 391.4 kB / 0.5346 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.4671, allocations: 130.8 kB / 0.5347 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/0.4735, allocations: 4.795 MB / 0.5394 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4745, allocations: 74.25 kB / 0.5394 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.4746, allocations: 31.75 kB / 0.5395 GB, free: 13.11 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 (71): * Single equations (assignments): 68 * 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.0004316/0.475, allocations: 201.9 kB / 0.5397 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4752, allocations: 60.83 kB / 0.5397 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.4764, allocations: 494.7 kB / 0.5402 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.4764, allocations: 7.141 kB / 0.5402 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4764, allocations: 0 / 0.5402 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.4767, allocations: 107 kB / 0.5403 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.4768, allocations: 6.281 kB / 0.5403 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.4772, allocations: 20.33 kB / 0.5403 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4773, allocations: 43.84 kB / 0.5404 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001287/0.4786, allocations: 0.5303 MB / 0.5409 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001041/0.4796, allocations: 0.684 MB / 0.5415 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002636/0.4799, allocations: 131.6 kB / 0.5417 GB, free: 11.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005838/0.4805, allocations: 356.3 kB / 0.542 GB, free: 11.69 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.4805, allocations: 0 / 0.542 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.4833, allocations: 0.9847 MB / 0.543 GB, free: 11.07 MB / 398.1 MB Notification: Performance of SimCode: time 0.002781/0.4861, allocations: 1.658 MB / 0.5446 GB, free: 9.918 MB / 398.1 MB Notification: Performance of Templates: time 0.02706/0.5131, allocations: 11.24 MB / 0.5556 GB, free: 4.832 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.551512495148927] Failed to read output from testmodel.py, exit status != 0: 0.5236564399674535 0.5391313710000001 0.088179938 Calling exit ...