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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005088/0.005088, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1731/0.1731, allocations: 16.77 MB / 307.3 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 69.44 kB / 426.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07198/0.07318, allocations: 53.57 MB / 480.2 MB, free: 10.42 MB / 350.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.01168/0.08489, allocations: 17.56 MB / 497.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006815/0.09173, allocations: 4.903 MB / 0.4908 GB, free: 6.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.09251, allocations: 27.88 kB / 0.4909 GB, free: 6.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.09393, allocations: 0.6562 MB / 0.4915 GB, free: 5.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.09789, allocations: 2.193 MB / 0.4937 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.09959, allocations: 0.8568 MB / 0.4945 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.1026, allocations: 3.319 MB / 0.4977 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/0.1034, allocations: 0.5715 MB / 0.4983 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.1046, allocations: 1.136 MB / 0.4994 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1058, allocations: 1.151 MB / 0.5005 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.106, allocations: 148 kB / 0.5007 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009053/0.1069, allocations: 491.8 kB / 0.5011 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.1072, allocations: 362.3 kB / 0.5015 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.1081, allocations: 1.061 MB / 0.5025 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.1105, allocations: 2.73 MB / 0.5052 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1105, allocations: 7.984 kB / 0.5052 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1105, allocations: 0 / 0.5052 GB, free: 7.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.1105, allocations: 0 / 0.5052 GB, free: 7.473 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007559/0.1181, allocations: 2.76 MB / 0.5079 GB, free: 4.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1181, allocations: 8.031 kB / 0.5079 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.1204, allocations: 450.3 kB / 0.5083 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.1224, allocations: 1.264 MB / 0.5096 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.1225, allocations: 98.83 kB / 0.5097 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.1226, allocations: 127.9 kB / 0.5098 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1245, allocations: 1.464 MB / 0.5112 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.1245, allocations: 7.938 kB / 0.5112 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.1247, allocations: 56 kB / 0.5113 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.1247, allocations: 39.98 kB / 0.5113 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.1263, allocations: 1.082 MB / 0.5124 GB, free: 15.82 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.01022/0.1365, allocations: 9.848 MB / 0.522 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.1384, allocations: 1.277 MB / 0.5232 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.1389, allocations: 388.6 kB / 0.5236 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.139, allocations: 21.05 kB / 0.5236 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1391, allocations: 51.67 kB / 0.5237 GB, free: 3.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 4.278e-06/0.1391, allocations: 3.938 kB / 0.5237 GB, free: 3.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.004541/0.1436, allocations: 1.9 MB / 0.5255 GB, free: 1.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1437, allocations: 90.11 kB / 0.5256 GB, free: 1.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.1453, allocations: 1.42 MB / 0.527 GB, free: 104 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.301e-05/0.1454, allocations: 49.7 kB / 0.527 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.1459, allocations: 0.69 MB / 0.5277 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.1462, allocations: 442.4 kB / 0.5281 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/0.1471, allocations: 0.6288 MB / 0.5288 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.1472, allocations: 313 kB / 0.529 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.1485, allocations: 0.9011 MB / 0.5299 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.1501, allocations: 1.187 MB / 0.5311 GB, free: 11.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.1524, allocations: 1.698 MB / 0.5327 GB, free: 10.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1525, allocations: 0 / 0.5327 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004779/0.1572, allocations: 3.018 MB / 0.5357 GB, free: 7.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1573, allocations: 4 kB / 0.5357 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1573, allocations: 4 kB / 0.5357 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.1602, allocations: 0.5274 MB / 0.5362 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.1626, allocations: 0.7099 MB / 0.5369 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005537/0.1682, allocations: 4.798 MB / 0.5416 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.1702, allocations: 226 kB / 0.5418 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.1704, allocations: 108 kB / 0.5419 GB, free: 408 kB / 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 (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.0006143/0.171, allocations: 401.4 kB / 0.5423 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.1713, allocations: 158.1 kB / 0.5424 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.1736, allocations: 1.184 MB / 0.5436 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1736, allocations: 3.984 kB / 0.5436 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1736, allocations: 0 / 0.5436 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.1742, allocations: 394.9 kB / 0.544 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.1743, allocations: 20 kB / 0.544 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/0.1753, allocations: 55.95 kB / 0.5441 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.1754, allocations: 76.88 kB / 0.5441 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002438/0.1779, allocations: 1.252 MB / 0.5454 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00177/0.1797, allocations: 1.457 MB / 0.5468 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004457/0.1801, allocations: 339.8 kB / 0.5471 GB, free: 11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.1813, allocations: 0.8907 MB / 0.548 GB, free: 10.11 MB / 430.1 MB Notification: Performance of Backend: time 3.2e-07/0.1813, allocations: 0 / 0.548 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.1858, allocations: 2.442 MB / 0.5504 GB, free: 7.637 MB / 430.1 MB Notification: Performance of SimCode: time 0.003574/0.1894, allocations: 2.882 MB / 0.5532 GB, free: 4.723 MB / 430.1 MB Notification: Performance of Templates: time 0.03713/0.2265, allocations: 25.66 MB / 0.5782 GB, free: 11.07 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.makefile (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)