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.00136/0.00136, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001613/0.001613, allocations: 210.1 kB / 23.04 MB, free: 5.07 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.08424/0.08424, allocations: 16.95 MB / 330.2 MB, free: 2.578 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.00205/0.00205, allocations: 67.89 kB / 461.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1442, allocations: 57.75 MB / 0.5069 GB, free: 8.078 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter LOAD1.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter LOAD1.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter BUSINF.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter BUSINF.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter LOAD2.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter LOAD2.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.3212/0.4653, allocations: 17.63 MB / 0.5241 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008649/0.474, allocations: 4.996 MB / 0.529 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.4765, allocations: 50.5 kB / 0.529 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.4791, allocations: 0.6575 MB / 0.5297 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00663/0.4857, allocations: 2.166 MB / 0.5318 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.4883, allocations: 0.8681 MB / 0.5326 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005776/0.494, allocations: 3.331 MB / 0.5359 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.496, allocations: 0.8037 MB / 0.5367 GB, free: 152 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.4991, allocations: 1.161 MB / 0.5378 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.5021, allocations: 1.141 MB / 0.5389 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007709/0.5029, allocations: 148.4 kB / 0.5391 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.5057, allocations: 0.5111 MB / 0.5396 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007991/0.5065, allocations: 355 kB / 0.5399 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003226/0.5097, allocations: 1.062 MB / 0.541 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006819/0.5165, allocations: 2.757 MB / 0.5436 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5165, allocations: 1.25 kB / 0.5436 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5165, allocations: 0 / 0.5436 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001114/0.5166, allocations: 0 / 0.5436 GB, free: 12.83 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.01307/0.5297, allocations: 2.753 MB / 0.5463 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.5297, allocations: 8.625 kB / 0.5463 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.5331, allocations: 476.2 kB / 0.5468 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.5367, allocations: 1.204 MB / 0.548 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.5368, allocations: 99.52 kB / 0.5481 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.537, allocations: 128.3 kB / 0.5482 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.5396, allocations: 1.464 MB / 0.5496 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.5397, allocations: 12.06 kB / 0.5496 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.5398, allocations: 59.94 kB / 0.5497 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.5398, allocations: 32.84 kB / 0.5497 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.5419, allocations: 1.085 MB / 0.5508 GB, free: 8.234 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.01537/0.5573, allocations: 9.805 MB / 0.5604 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.5595, allocations: 0.9629 MB / 0.5613 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.5601, allocations: 344.6 kB / 0.5616 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.5602, allocations: 25.95 kB / 0.5616 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.5603, allocations: 53.16 kB / 0.5617 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 3.767e-06/0.5603, allocations: 0 / 0.5617 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.005744/0.566, allocations: 1.746 MB / 0.5634 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.5661, allocations: 92.48 kB / 0.5635 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.5687, allocations: 1.431 MB / 0.5649 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.5689, allocations: 47.23 kB / 0.5649 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.5697, allocations: 0.703 MB / 0.5656 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006566/0.5703, allocations: 457.8 kB / 0.5661 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.5714, allocations: 0.635 MB / 0.5667 GB, free: 11.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5715, allocations: 306.2 kB / 0.567 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.5731, allocations: 0.9087 MB / 0.5679 GB, free: 10.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.575, allocations: 1.185 MB / 0.569 GB, free: 9.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.5778, allocations: 1.708 MB / 0.5707 GB, free: 8.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.5778, allocations: 1.375 kB / 0.5707 GB, free: 8.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006072/0.5839, allocations: 3.024 MB / 0.5736 GB, free: 5.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.5839, allocations: 4 kB / 0.5736 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.5839, allocations: 7.938 kB / 0.5736 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.5869, allocations: 0.5221 MB / 0.5742 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.5898, allocations: 0.7099 MB / 0.5749 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/0.5967, allocations: 4.583 MB / 0.5793 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.6, allocations: 234.5 kB / 0.5795 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.6002, allocations: 115.3 kB / 0.5797 GB, free: 15.38 MB / 430.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 (429): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(8,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0009094/0.6012, allocations: 409.1 kB / 0.58 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.6016, allocations: 167 kB / 0.5802 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.6043, allocations: 1.167 MB / 0.5813 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.6043, allocations: 10.47 kB / 0.5814 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6043, allocations: 0 / 0.5814 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.6053, allocations: 314.7 kB / 0.5817 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.6056, allocations: 16 kB / 0.5817 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.6068, allocations: 59.91 kB / 0.5817 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6069, allocations: 85.62 kB / 0.5818 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002939/0.6099, allocations: 1.254 MB / 0.583 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002356/0.6122, allocations: 1.477 MB / 0.5845 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005349/0.6128, allocations: 315.3 kB / 0.5848 GB, free: 10.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001525/0.6143, allocations: 0.8868 MB / 0.5856 GB, free: 9.188 MB / 430.1 MB Notification: Performance of Backend: time 3.3e-07/0.6143, allocations: 4 kB / 0.5857 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005957/0.6203, allocations: 2.198 MB / 0.5878 GB, free: 6.961 MB / 430.1 MB Notification: Performance of SimCode: time 0.004894/0.6251, allocations: 2.937 MB / 0.5907 GB, free: 4 MB / 430.1 MB Notification: Performance of Templates: time 0.05743/0.6826, allocations: 27.36 MB / 0.6174 GB, free: 8.668 MB / 462.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.336492249974981] Failed to read output from testmodel.py, exit status != 0: 0.6922681470168754 0.708071621 0.18791813300000001 Calling exit ...