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.001494/0.001494, 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.001844/0.001844, allocations: 212.6 kB / 22.24 MB, free: 5.258 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.805 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.08544/0.08544, allocations: 16.92 MB / 329.3 MB, free: 2.387 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.002201/0.002201, allocations: 59.91 kB / 460.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1584, allocations: 57.74 MB / 0.506 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.2895/0.4479, allocations: 9.455 MB / 0.5152 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.4535, allocations: 3.525 MB / 0.5187 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.4541, allocations: 31.78 kB / 0.5187 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009407/0.4551, allocations: 304.2 kB / 0.519 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.4576, allocations: 1.129 MB / 0.5201 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.4583, allocations: 270.3 kB / 0.5203 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.46, allocations: 1.165 MB / 0.5215 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/0.4607, allocations: 278.7 kB / 0.5217 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007531/0.4614, allocations: 431.2 kB / 0.5222 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006517/0.4621, allocations: 394.5 kB / 0.5225 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.232e-05/0.4622, allocations: 45.81 kB / 0.5226 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.4629, allocations: 253.9 kB / 0.5228 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.4631, allocations: 124.9 kB / 0.5229 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.4634, allocations: 318.1 kB / 0.5232 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.4649, allocations: 0.9746 MB / 0.5242 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4649, allocations: 1.859 kB / 0.5242 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4649, allocations: 0 / 0.5242 GB, free: 8.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.465, allocations: 3.938 kB / 0.5242 GB, free: 8.258 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.002888/0.4678, allocations: 1.099 MB / 0.5253 GB, free: 7.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4679, allocations: 9.984 kB / 0.5253 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.4685, allocations: 114.2 kB / 0.5254 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.4695, allocations: 498.2 kB / 0.5259 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.4695, allocations: 37.25 kB / 0.5259 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/0.4696, allocations: 47.69 kB / 0.5259 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.4704, allocations: 0.5967 MB / 0.5265 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4704, allocations: 7.312 kB / 0.5265 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.4704, allocations: 18.03 kB / 0.5265 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.4705, allocations: 12.19 kB / 0.5266 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.4711, allocations: 374.2 kB / 0.5269 GB, free: 6.574 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.003071/0.4742, allocations: 2.771 MB / 0.5296 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.4748, allocations: 315.9 kB / 0.5299 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.475, allocations: 129.2 kB / 0.53 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.4751, allocations: 8.234 kB / 0.5301 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.4751, allocations: 37.45 kB / 0.5301 GB, free: 4.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.053e-06/0.4751, allocations: 1.156 kB / 0.5301 GB, free: 4.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.00237/0.4775, allocations: 0.7444 MB / 0.5308 GB, free: 3.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.4775, allocations: 58.66 kB / 0.5309 GB, free: 3.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.4781, allocations: 0.5257 MB / 0.5314 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.4782, allocations: 32.52 kB / 0.5314 GB, free: 3.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.4784, allocations: 315.5 kB / 0.5317 GB, free: 3.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.4785, allocations: 153.9 kB / 0.5319 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.4787, allocations: 127.3 kB / 0.532 GB, free: 2.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4788, allocations: 366.2 kB / 0.5323 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.4791, allocations: 150 kB / 0.5325 GB, free: 2.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.4795, allocations: 425.9 kB / 0.5329 GB, free: 2.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000727/0.4803, allocations: 0.5516 MB / 0.5334 GB, free: 1.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.4803, allocations: 2.438 kB / 0.5334 GB, free: 1.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001738/0.482, allocations: 0.7617 MB / 0.5342 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.4821, allocations: 10.34 kB / 0.5342 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4821, allocations: 6.031 kB / 0.5342 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.4843, allocations: 388.5 kB / 0.5346 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.4847, allocations: 127.7 kB / 0.5347 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.4911, allocations: 4.799 MB / 0.5394 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/0.492, allocations: 72.05 kB / 0.5394 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.4921, allocations: 30.84 kB / 0.5395 GB, free: 13.09 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.0004597/0.4925, allocations: 201.4 kB / 0.5397 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.4927, allocations: 60.73 kB / 0.5397 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4938, allocations: 494.3 kB / 0.5402 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4938, allocations: 3.906 kB / 0.5402 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4938, allocations: 4 kB / 0.5402 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.4941, allocations: 109.8 kB / 0.5403 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.4942, allocations: 7.516 kB / 0.5403 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.4946, allocations: 21.12 kB / 0.5403 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4947, allocations: 36.97 kB / 0.5404 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001333/0.496, allocations: 0.5329 MB / 0.5409 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001062/0.4971, allocations: 0.6893 MB / 0.5416 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002429/0.4973, allocations: 124.7 kB / 0.5417 GB, free: 11.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005871/0.4979, allocations: 352.6 kB / 0.542 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Backend: time 5.82e-07/0.4979, allocations: 0 / 0.542 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.5005, allocations: 0.9834 MB / 0.543 GB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 0.002743/0.5033, allocations: 1.658 MB / 0.5446 GB, free: 9.895 MB / 398.1 MB Notification: Performance of Templates: time 0.02255/0.5258, allocations: 11.24 MB / 0.5556 GB, free: 4.801 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.606986688449979] Failed to read output from testmodel.py, exit status != 0: 0.5356796681880951 0.5492485539999999 0.081079816 Calling exit ...