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.001742/0.001742, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002181/0.002181, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.08427/0.08427, allocations: 16.93 MB / 330.1 MB, free: 2.473 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.002131/0.002131, allocations: 59.91 kB / 461.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.119, allocations: 57.74 MB / 0.5067 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.2611/0.3801, allocations: 9.446 MB / 0.5159 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005456/0.3856, allocations: 3.534 MB / 0.5194 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.3864, allocations: 30.66 kB / 0.5194 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.3877, allocations: 297 kB / 0.5197 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.3915, allocations: 1.131 MB / 0.5208 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3925, allocations: 267.8 kB / 0.5211 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.3945, allocations: 1.164 MB / 0.5222 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006088/0.3951, allocations: 284.5 kB / 0.5225 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.3957, allocations: 430.5 kB / 0.5229 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.3961, allocations: 394.9 kB / 0.5233 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.3962, allocations: 51.16 kB / 0.5233 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006258/0.3969, allocations: 248.8 kB / 0.5236 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.3969, allocations: 124.4 kB / 0.5237 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.3972, allocations: 306.1 kB / 0.524 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3985, allocations: 0.9873 MB / 0.5249 GB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3985, allocations: 1.188 kB / 0.5249 GB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3985, allocations: 0 / 0.5249 GB, free: 8.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3985, allocations: 0 / 0.5249 GB, free: 8.273 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.002773/0.4013, allocations: 1.1 MB / 0.526 GB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4013, allocations: 8.594 kB / 0.526 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.4019, allocations: 114.8 kB / 0.5261 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4029, allocations: 498.8 kB / 0.5266 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.403, allocations: 36.41 kB / 0.5266 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.4031, allocations: 47.84 kB / 0.5267 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.4038, allocations: 0.5971 MB / 0.5273 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4038, allocations: 5.219 kB / 0.5273 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.4039, allocations: 22.56 kB / 0.5273 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.4039, allocations: 13.69 kB / 0.5273 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.4045, allocations: 370.8 kB / 0.5277 GB, free: 6.59 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.002929/0.4074, allocations: 2.761 MB / 0.5304 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.408, allocations: 313.3 kB / 0.5306 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.4082, allocations: 136.9 kB / 0.5308 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.4082, allocations: 5.328 kB / 0.5308 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4083, allocations: 38.48 kB / 0.5308 GB, free: 4.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/0.4083, allocations: 0 / 0.5308 GB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002529/0.4108, allocations: 0.7406 MB / 0.5315 GB, free: 3.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.4108, allocations: 62.97 kB / 0.5316 GB, free: 3.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.4117, allocations: 0.5296 MB / 0.5321 GB, free: 3.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.4117, allocations: 36.34 kB / 0.5322 GB, free: 3.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.412, allocations: 307.2 kB / 0.5324 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.4121, allocations: 157.4 kB / 0.5326 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.4123, allocations: 128.3 kB / 0.5327 GB, free: 2.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4125, allocations: 365.9 kB / 0.5331 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.4128, allocations: 154.5 kB / 0.5332 GB, free: 2.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.4132, allocations: 419 kB / 0.5336 GB, free: 2.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.4139, allocations: 0.551 MB / 0.5342 GB, free: 1.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.4139, allocations: 6.656 kB / 0.5342 GB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001575/0.4155, allocations: 0.7621 MB / 0.5349 GB, free: 1.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4155, allocations: 10.05 kB / 0.5349 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4155, allocations: 7.656 kB / 0.5349 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.4176, allocations: 383.1 kB / 0.5353 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.418, allocations: 126.7 kB / 0.5354 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/0.4238, allocations: 4.797 MB / 0.5401 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/0.4247, allocations: 71.14 kB / 0.5402 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.4248, allocations: 31.27 kB / 0.5402 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.0003704/0.4251, allocations: 201.8 kB / 0.5404 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.4253, allocations: 60.53 kB / 0.5404 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.4264, allocations: 500 kB / 0.5409 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.4264, allocations: 3.5 kB / 0.5409 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4264, allocations: 3.938 kB / 0.5409 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.4267, allocations: 106.5 kB / 0.541 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.4268, allocations: 14.06 kB / 0.541 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.4271, allocations: 17.78 kB / 0.5411 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.4272, allocations: 45.73 kB / 0.5411 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001209/0.4284, allocations: 0.5238 MB / 0.5416 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009658/0.4294, allocations: 0.6798 MB / 0.5423 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002333/0.4296, allocations: 134.7 kB / 0.5424 GB, free: 11.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005998/0.4302, allocations: 351 kB / 0.5427 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Backend: time 6.42e-07/0.4302, allocations: 1.281 kB / 0.5427 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.4327, allocations: 0.9846 MB / 0.5437 GB, free: 11.06 MB / 398.1 MB Notification: Performance of SimCode: time 0.002592/0.4353, allocations: 1.78 MB / 0.5454 GB, free: 9.918 MB / 398.1 MB Notification: Performance of Templates: time 0.01932/0.4546, allocations: 12.63 MB / 0.5578 GB, free: 3.738 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.442990012932569] Failed to read output from testmodel.py, exit status != 0: 0.4633916849270463 0.47671700899999997 0.07520980599999995 Calling exit ...