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.00128/0.00128, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001571/0.001571, allocations: 211.9 kB / 22.25 MB, free: 5.086 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 8.02 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.07828/0.07828, allocations: 16.95 MB / 329.4 MB, free: 2.57 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.001953/0.001953, allocations: 67.91 kB / 460.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1125, allocations: 57.73 MB / 0.5061 GB, free: 8.066 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.2225/0.335, allocations: 17.64 MB / 0.5234 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.3415, allocations: 4.983 MB / 0.5282 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.3429, allocations: 46.47 kB / 0.5283 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.3446, allocations: 0.6564 MB / 0.5289 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.3492, allocations: 2.169 MB / 0.531 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.3509, allocations: 0.872 MB / 0.5319 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.3548, allocations: 3.331 MB / 0.5351 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.3561, allocations: 0.8003 MB / 0.5359 GB, free: 148 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.3584, allocations: 1.164 MB / 0.537 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.3608, allocations: 1.137 MB / 0.5382 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.3611, allocations: 152 kB / 0.5383 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.3626, allocations: 0.5035 MB / 0.5388 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.363, allocations: 355.6 kB / 0.5391 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.3643, allocations: 1.059 MB / 0.5402 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.3683, allocations: 2.758 MB / 0.5429 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3683, allocations: 3.938 kB / 0.5429 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3683, allocations: 0 / 0.5429 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.356e-05/0.3683, allocations: 5.312 kB / 0.5429 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.008837/0.3772, allocations: 2.748 MB / 0.5456 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3772, allocations: 9.25 kB / 0.5456 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.38, allocations: 478.8 kB / 0.546 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.3825, allocations: 1.205 MB / 0.5472 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.3826, allocations: 99.7 kB / 0.5473 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.3828, allocations: 127.8 kB / 0.5474 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.385, allocations: 1.472 MB / 0.5488 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.385, allocations: 7 kB / 0.5489 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.3851, allocations: 55.94 kB / 0.5489 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.3852, allocations: 33.38 kB / 0.5489 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.3869, allocations: 1.087 MB / 0.55 GB, free: 8.238 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.01291/0.3998, allocations: 9.803 MB / 0.5596 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.4017, allocations: 0.9678 MB / 0.5605 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.4023, allocations: 345.6 kB / 0.5608 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.4024, allocations: 24.67 kB / 0.5609 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.4024, allocations: 49.41 kB / 0.5609 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 3.847e-06/0.4024, allocations: 112 / 0.5609 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.004915/0.4073, allocations: 1.749 MB / 0.5626 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.4074, allocations: 88.92 kB / 0.5627 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.4097, allocations: 1.43 MB / 0.5641 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.4098, allocations: 52.11 kB / 0.5642 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000739/0.4106, allocations: 0.7059 MB / 0.5648 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005666/0.4111, allocations: 459.1 kB / 0.5653 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/0.4123, allocations: 0.6357 MB / 0.5659 GB, free: 11.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4125, allocations: 305.1 kB / 0.5662 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.4141, allocations: 0.9036 MB / 0.5671 GB, free: 10.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.4159, allocations: 1.191 MB / 0.5682 GB, free: 9.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.4187, allocations: 1.697 MB / 0.5699 GB, free: 8.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.4187, allocations: 0 / 0.5699 GB, free: 8.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005868/0.4245, allocations: 3.029 MB / 0.5729 GB, free: 5.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4246, allocations: 4 kB / 0.5729 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4246, allocations: 6.188 kB / 0.5729 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/0.4274, allocations: 0.5299 MB / 0.5734 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.4301, allocations: 0.71 MB / 0.5741 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/0.4367, allocations: 4.594 MB / 0.5786 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.4396, allocations: 234.5 kB / 0.5788 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.4399, allocations: 108 kB / 0.5789 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.0009499/0.4408, allocations: 413.1 kB / 0.5793 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/0.4413, allocations: 163 kB / 0.5794 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.4439, allocations: 1.167 MB / 0.5806 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.4439, allocations: 7.984 kB / 0.5806 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4439, allocations: 0.875 kB / 0.5806 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.445, allocations: 314.7 kB / 0.5809 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/0.4453, allocations: 20 kB / 0.5809 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.4466, allocations: 55.92 kB / 0.581 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.4467, allocations: 84.75 kB / 0.581 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00276/0.4495, allocations: 1.251 MB / 0.5823 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00219/0.4517, allocations: 1.477 MB / 0.5837 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005021/0.4522, allocations: 315.3 kB / 0.584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001493/0.4537, allocations: 0.8907 MB / 0.5849 GB, free: 9.172 MB / 430.1 MB Notification: Performance of Backend: time 3.21e-07/0.4537, allocations: 0 / 0.5849 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005619/0.4593, allocations: 2.188 MB / 0.587 GB, free: 6.961 MB / 430.1 MB Notification: Performance of SimCode: time 0.004855/0.4642, allocations: 2.947 MB / 0.5899 GB, free: 3.996 MB / 430.1 MB Notification: Performance of Templates: time 0.04943/0.5136, allocations: 27.36 MB / 0.6166 GB, free: 8.66 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: 5.628495077136904] Failed to read output from testmodel.py, exit status != 0: 0.5223211620468646 0.53722375 0.165905079 Calling exit ...