Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.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.001371/0.001371, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002282/0.002282, allocations: 213.9 kB / 22.24 MB, free: 5.242 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.519/1.519, allocations: 230.6 MB / 256 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.08384/0.08384, allocations: 16.92 MB / 329.4 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.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") [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.002164/0.002164, allocations: 67.89 kB / 460.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 57.73 MB / 0.506 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.2545/0.3826, allocations: 12.58 MB / 0.5183 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00683/0.3894, allocations: 4.401 MB / 0.5226 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.391, allocations: 41.53 kB / 0.5226 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.3928, allocations: 0.6012 MB / 0.5232 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.3977, allocations: 2.074 MB / 0.5252 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3994, allocations: 0.7265 MB / 0.5259 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.4033, allocations: 3.223 MB / 0.5291 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.4045, allocations: 0.7814 MB / 0.5299 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.4065, allocations: 1.129 MB / 0.531 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.4083, allocations: 1.007 MB / 0.5319 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.4086, allocations: 144.4 kB / 0.5321 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.41, allocations: 473.5 kB / 0.5325 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.4102, allocations: 341.3 kB / 0.5329 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008702/0.4111, allocations: 0.8349 MB / 0.5337 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.4142, allocations: 2.662 MB / 0.5363 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4142, allocations: 0 / 0.5363 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4142, allocations: 0 / 0.5363 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.482e-05/0.4143, allocations: 4 kB / 0.5363 GB, free: 1.27 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.008279/0.4226, allocations: 2.626 MB / 0.5388 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4226, allocations: 11.34 kB / 0.5388 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.4256, allocations: 462.3 kB / 0.5393 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.4284, allocations: 1.172 MB / 0.5404 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.4285, allocations: 93 kB / 0.5405 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.4287, allocations: 125 kB / 0.5406 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.4313, allocations: 1.71 MB / 0.5423 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.4314, allocations: 8.094 kB / 0.5423 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.4315, allocations: 56.44 kB / 0.5424 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.4315, allocations: 32.66 kB / 0.5424 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.4332, allocations: 1.01 MB / 0.5434 GB, free: 12.94 MB / 398.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.01212/0.4454, allocations: 7.725 MB / 0.5509 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4467, allocations: 0.6298 MB / 0.5515 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.4471, allocations: 288.4 kB / 0.5518 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.4472, allocations: 23.02 kB / 0.5518 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.4473, allocations: 49.62 kB / 0.5519 GB, free: 5.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=88): time 3.647e-06/0.4473, allocations: 0 / 0.5519 GB, free: 5.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.003351/0.4506, allocations: 1.148 MB / 0.553 GB, free: 4.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.4507, allocations: 86.55 kB / 0.5531 GB, free: 4.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.4533, allocations: 1.416 MB / 0.5545 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.4535, allocations: 50.14 kB / 0.5545 GB, free: 3.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000838/0.4543, allocations: 0.7721 MB / 0.5553 GB, free: 3.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005511/0.4549, allocations: 377.3 kB / 0.5556 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.456, allocations: 0.6237 MB / 0.5562 GB, free: 2.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.4562, allocations: 357.9 kB / 0.5566 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.4579, allocations: 0.8672 MB / 0.5574 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.4597, allocations: 1.15 MB / 0.5586 GB, free: 1.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.4623, allocations: 1.6 MB / 0.5601 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.4623, allocations: 0 / 0.5601 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005053/0.4673, allocations: 2.784 MB / 0.5628 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4674, allocations: 6.906 kB / 0.5628 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.4674, allocations: 6.25 kB / 0.5629 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.4687, allocations: 248.1 kB / 0.5631 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.4713, allocations: 0.673 MB / 0.5637 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005233/0.4765, allocations: 5.302 MB / 0.5689 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.4799, allocations: 230.1 kB / 0.5691 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.4801, allocations: 99.98 kB / 0.5692 GB, free: 8.578 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 (LOAD2.componentPF.isSlackBus,BUSINF.componentPF.isSlackBus,LOAD1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 426 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009908/0.4811, allocations: 397.6 kB / 0.5696 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/0.4815, allocations: 159 kB / 0.5698 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.4833, allocations: 0.8766 MB / 0.5706 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4833, allocations: 3.984 kB / 0.5706 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4833, allocations: 0 / 0.5706 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/0.4841, allocations: 294.8 kB / 0.5709 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.4843, allocations: 16 kB / 0.5709 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.4854, allocations: 55.95 kB / 0.571 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4855, allocations: 56.33 kB / 0.571 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001828/0.4873, allocations: 0.9355 MB / 0.5719 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001847/0.4891, allocations: 1.336 MB / 0.5733 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004422/0.4896, allocations: 271.4 kB / 0.5735 GB, free: 4.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001407/0.491, allocations: 0.8617 MB / 0.5744 GB, free: 3.27 MB / 414.1 MB Notification: Performance of Backend: time 6.41e-07/0.491, allocations: 0 / 0.5744 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004859/0.4958, allocations: 2.06 MB / 0.5764 GB, free: 1.16 MB / 414.1 MB Notification: Performance of SimCode: time 0.004589/0.5004, allocations: 2.629 MB / 0.5789 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Templates: time 0.04667/0.5471, allocations: 27.24 MB / 0.6055 GB, free: 3.379 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 6.164683960843831] Failed to read output from testmodel.py, exit status != 0: 0.5569108701311052 0.571005472 0.15361691799999994 Calling exit ...