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.001398/0.001398, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002718/0.002718, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.777 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.08238/0.08238, allocations: 16.93 MB / 329.4 MB, free: 2.375 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.002473/0.002473, allocations: 71.89 kB / 460.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1294, allocations: 57.73 MB / 0.506 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.3013/0.4307, allocations: 9.448 MB / 0.5152 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008376/0.439, allocations: 3.535 MB / 0.5187 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.4401, allocations: 33.78 kB / 0.5187 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.4412, allocations: 307.5 kB / 0.519 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.4438, allocations: 1.12 MB / 0.5201 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.4448, allocations: 268 kB / 0.5203 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.447, allocations: 1.168 MB / 0.5215 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.4477, allocations: 278.7 kB / 0.5218 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.4486, allocations: 428.9 kB / 0.5222 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006281/0.4493, allocations: 399.4 kB / 0.5225 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.652e-05/0.4494, allocations: 46.66 kB / 0.5226 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008719/0.4502, allocations: 260.5 kB / 0.5228 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4504, allocations: 116.2 kB / 0.5229 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.4507, allocations: 313.8 kB / 0.5232 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.4523, allocations: 0.977 MB / 0.5242 GB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4523, allocations: 4.609 kB / 0.5242 GB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4523, allocations: 0 / 0.5242 GB, free: 8.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.4523, allocations: 1.156 kB / 0.5242 GB, free: 8.238 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.002968/0.4553, allocations: 1.098 MB / 0.5253 GB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.4553, allocations: 9.969 kB / 0.5253 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.4559, allocations: 110.3 kB / 0.5254 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.4571, allocations: 0.4896 MB / 0.5259 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.4571, allocations: 41.06 kB / 0.5259 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.4572, allocations: 44.88 kB / 0.526 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.4581, allocations: 0.6012 MB / 0.5265 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4581, allocations: 3.938 kB / 0.5265 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.4582, allocations: 17.5 kB / 0.5266 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.4582, allocations: 13.81 kB / 0.5266 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.4589, allocations: 374.8 kB / 0.5269 GB, free: 6.551 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.003211/0.4622, allocations: 2.764 MB / 0.5296 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.4627, allocations: 311.1 kB / 0.5299 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.463, allocations: 137.4 kB / 0.5301 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.463, allocations: 4.625 kB / 0.5301 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.463, allocations: 43.62 kB / 0.5301 GB, free: 4.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.695e-06/0.463, allocations: 0 / 0.5301 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002445/0.4655, allocations: 0.7415 MB / 0.5308 GB, free: 3.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.4655, allocations: 55.81 kB / 0.5309 GB, free: 3.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007967/0.4663, allocations: 0.5218 MB / 0.5314 GB, free: 3.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.4664, allocations: 40.3 kB / 0.5314 GB, free: 3.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.4666, allocations: 310.5 kB / 0.5317 GB, free: 3.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.4667, allocations: 158.1 kB / 0.5319 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.4669, allocations: 124.6 kB / 0.532 GB, free: 2.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.467, allocations: 365.4 kB / 0.5323 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.4673, allocations: 154.8 kB / 0.5325 GB, free: 2.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.4677, allocations: 424 kB / 0.5329 GB, free: 2.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.4684, allocations: 0.5527 MB / 0.5334 GB, free: 1.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4684, allocations: 4.062 kB / 0.5334 GB, free: 1.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001566/0.47, allocations: 0.7563 MB / 0.5342 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.47, allocations: 11.94 kB / 0.5342 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.47, allocations: 5.125 kB / 0.5342 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.4722, allocations: 395.1 kB / 0.5346 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.4726, allocations: 124.1 kB / 0.5347 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.4786, allocations: 4.794 MB / 0.5394 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009583/0.4795, allocations: 68.98 kB / 0.5394 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.4796, allocations: 33.69 kB / 0.5395 GB, free: 13.07 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.0004284/0.48, allocations: 198.2 kB / 0.5397 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.4802, allocations: 65.02 kB / 0.5397 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.4814, allocations: 498.5 kB / 0.5402 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4814, allocations: 3.672 kB / 0.5402 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4814, allocations: 2.875 kB / 0.5402 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.4818, allocations: 106.2 kB / 0.5403 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.4818, allocations: 6.922 kB / 0.5403 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.4822, allocations: 20.06 kB / 0.5403 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4823, allocations: 48.62 kB / 0.5404 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00136/0.4837, allocations: 0.5243 MB / 0.5409 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001182/0.4849, allocations: 0.6833 MB / 0.5416 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002683/0.4851, allocations: 126.1 kB / 0.5417 GB, free: 11.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005835/0.4857, allocations: 355.6 kB / 0.542 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Backend: time 6.91e-07/0.4857, allocations: 4 kB / 0.542 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.4885, allocations: 0.9822 MB / 0.543 GB, free: 11.02 MB / 398.1 MB Notification: Performance of SimCode: time 0.003048/0.4915, allocations: 1.659 MB / 0.5446 GB, free: 9.879 MB / 398.1 MB Notification: Performance of Templates: time 0.02496/0.5165, allocations: 11.23 MB / 0.5556 GB, free: 4.797 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.467150792945176] Failed to read output from testmodel.py, exit status != 0: 0.5259285089559853 0.541891416 0.08637159800000001 Calling exit ...