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.001998/0.001998, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001979/0.001979, allocations: 217.3 kB / 23.01 MB, free: 4.566 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.08034/0.08034, allocations: 16.96 MB / 330.1 MB, free: 2.66 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.002021/0.002021, allocations: 71.89 kB / 461.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 57.74 MB / 0.5069 GB, free: 8.07 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.2591/0.3751, allocations: 17.63 MB / 0.5241 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008039/0.3831, allocations: 4.989 MB / 0.529 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.3852, allocations: 45.78 kB / 0.529 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.3875, allocations: 0.6571 MB / 0.5296 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.3933, allocations: 2.169 MB / 0.5318 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.3955, allocations: 0.8815 MB / 0.5326 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004891/0.4004, allocations: 3.316 MB / 0.5359 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.4019, allocations: 0.8046 MB / 0.5366 GB, free: 160 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.4044, allocations: 1.162 MB / 0.5378 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.4071, allocations: 1.142 MB / 0.5389 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.4075, allocations: 151.8 kB / 0.539 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.4094, allocations: 0.5043 MB / 0.5395 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.4098, allocations: 354.7 kB / 0.5399 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.4117, allocations: 1.055 MB / 0.5409 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.417, allocations: 2.762 MB / 0.5436 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.417, allocations: 0 / 0.5436 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.417, allocations: 0 / 0.5436 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.878e-05/0.417, allocations: 3.938 kB / 0.5436 GB, free: 12.84 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.01013/0.4271, allocations: 2.747 MB / 0.5463 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4272, allocations: 9.312 kB / 0.5463 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.4304, allocations: 472.6 kB / 0.5467 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.4336, allocations: 1.216 MB / 0.5479 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/0.4337, allocations: 98.33 kB / 0.548 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.4339, allocations: 128.4 kB / 0.5482 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.4362, allocations: 1.473 MB / 0.5496 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.4362, allocations: 7.219 kB / 0.5496 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.4364, allocations: 57.78 kB / 0.5497 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.4364, allocations: 32.16 kB / 0.5497 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.4382, allocations: 1.092 MB / 0.5507 GB, free: 8.242 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.01371/0.4519, allocations: 9.796 MB / 0.5603 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.454, allocations: 0.9697 MB / 0.5613 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.4545, allocations: 348.7 kB / 0.5616 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.583e-05/0.4546, allocations: 18.31 kB / 0.5616 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.4547, allocations: 57.36 kB / 0.5617 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 3.036e-06/0.4547, allocations: 0 / 0.5617 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.005345/0.46, allocations: 1.741 MB / 0.5634 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.4601, allocations: 91.67 kB / 0.5635 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.4625, allocations: 1.427 MB / 0.5648 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.4627, allocations: 51.48 kB / 0.5649 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006979/0.4634, allocations: 0.7099 MB / 0.5656 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006063/0.464, allocations: 459.8 kB / 0.566 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.4651, allocations: 0.6344 MB / 0.5666 GB, free: 11.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4652, allocations: 306 kB / 0.5669 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.4667, allocations: 0.9009 MB / 0.5678 GB, free: 10.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.4684, allocations: 1.189 MB / 0.569 GB, free: 9.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.4712, allocations: 1.702 MB / 0.5706 GB, free: 8.695 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4712, allocations: 1.375 kB / 0.5706 GB, free: 8.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005986/0.4772, allocations: 3.026 MB / 0.5736 GB, free: 5.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4772, allocations: 4 kB / 0.5736 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4772, allocations: 4 kB / 0.5736 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.4802, allocations: 0.5306 MB / 0.5741 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.4832, allocations: 0.7022 MB / 0.5748 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/0.4899, allocations: 4.597 MB / 0.5793 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.4931, allocations: 238.5 kB / 0.5795 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.4934, allocations: 108 kB / 0.5796 GB, free: 15.37 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.0009128/0.4943, allocations: 409.1 kB / 0.58 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.4947, allocations: 163 kB / 0.5802 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.4973, allocations: 1.173 MB / 0.5813 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.4973, allocations: 8.859 kB / 0.5813 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.4973, allocations: 0 / 0.5813 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.4983, allocations: 314.7 kB / 0.5816 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.4985, allocations: 16 kB / 0.5816 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4996, allocations: 59.92 kB / 0.5817 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.4998, allocations: 80.75 kB / 0.5818 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002704/0.5025, allocations: 1.251 MB / 0.583 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002266/0.5048, allocations: 1.47 MB / 0.5844 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005072/0.5053, allocations: 323.3 kB / 0.5847 GB, free: 10.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.5067, allocations: 0.8829 MB / 0.5856 GB, free: 9.184 MB / 430.1 MB Notification: Performance of Backend: time 8.92e-07/0.5067, allocations: 3.938 kB / 0.5856 GB, free: 9.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005688/0.5124, allocations: 2.195 MB / 0.5878 GB, free: 6.961 MB / 430.1 MB Notification: Performance of SimCode: time 0.005566/0.518, allocations: 3.864 MB / 0.5915 GB, free: 3.074 MB / 430.1 MB Notification: Performance of Templates: time 0.04854/0.5665, allocations: 31.03 MB / 0.6218 GB, free: 4.012 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.61961050098762] Failed to read output from testmodel.py, exit status != 0: 0.5755862849764526 0.59008002 0.169986574 Calling exit ...