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.004726/0.004726, allocations: 99.75 kB / 15.73 MB, free: 6.02 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.001251/0.001251, allocations: 194.9 kB / 16.67 MB, free: 5.93 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07075/0.07075, allocations: 16.77 MB / 307.3 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.91 kB / 426.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08261, allocations: 53.57 MB / 480.2 MB, free: 5.09 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.01483/0.09747, allocations: 17.55 MB / 497.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00683/0.1043, allocations: 4.899 MB / 0.4908 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1055, allocations: 35.81 kB / 0.4909 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.1073, allocations: 0.6484 MB / 0.4915 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.1125, allocations: 2.187 MB / 0.4936 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.1145, allocations: 0.8688 MB / 0.4945 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003746/0.1183, allocations: 3.321 MB / 0.4977 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008852/0.1192, allocations: 0.5754 MB / 0.4983 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.1206, allocations: 1.136 MB / 0.4994 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.1222, allocations: 1.152 MB / 0.5005 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.1226, allocations: 152 kB / 0.5007 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.1237, allocations: 491.8 kB / 0.5011 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.124, allocations: 358.3 kB / 0.5015 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009071/0.1249, allocations: 1.057 MB / 0.5025 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1774/0.3023, allocations: 2.742 MB / 0.5052 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3023, allocations: 0.625 kB / 0.5052 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3023, allocations: 4.406 kB / 0.5052 GB, free: 14.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.22e-05/0.3024, allocations: 0 / 0.5052 GB, free: 14.05 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.008715/0.3111, allocations: 2.804 MB / 0.5079 GB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3112, allocations: 11.94 kB / 0.5079 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.3138, allocations: 461.3 kB / 0.5084 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.3163, allocations: 1.278 MB / 0.5096 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.3164, allocations: 104.1 kB / 0.5097 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.3166, allocations: 123.7 kB / 0.5099 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.3186, allocations: 1.463 MB / 0.5113 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.3186, allocations: 10.62 kB / 0.5113 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3188, allocations: 54.94 kB / 0.5113 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.3188, allocations: 33.58 kB / 0.5114 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.3204, allocations: 1.085 MB / 0.5124 GB, free: 11.89 MB / 382.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.009744/0.3302, allocations: 9.862 MB / 0.5221 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.3322, allocations: 1.266 MB / 0.5233 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.3327, allocations: 394.2 kB / 0.5237 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.977e-05/0.3328, allocations: 24.48 kB / 0.5237 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3328, allocations: 50.62 kB / 0.5237 GB, free: 4.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 3.226e-06/0.3328, allocations: 0 / 0.5237 GB, free: 4.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.004577/0.3374, allocations: 1.908 MB / 0.5256 GB, free: 4.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3374, allocations: 94.36 kB / 0.5257 GB, free: 4.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.3393, allocations: 1.42 MB / 0.5271 GB, free: 3.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.3394, allocations: 52.45 kB / 0.5271 GB, free: 3.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.3399, allocations: 0.7095 MB / 0.5278 GB, free: 2.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.3403, allocations: 457.2 kB / 0.5283 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009908/0.3413, allocations: 0.6384 MB / 0.5289 GB, free: 2.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 2.951e-05/0.3413, allocations: 301.1 kB / 0.5292 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.3427, allocations: 0.8948 MB / 0.5301 GB, free: 1.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.3442, allocations: 1.2 MB / 0.5312 GB, free: 1.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.3463, allocations: 1.703 MB / 0.5329 GB, free: 196 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3463, allocations: 3.25 kB / 0.5329 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.00551/0.3518, allocations: 3.097 MB / 0.5359 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3519, allocations: 5.5 kB / 0.5359 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3519, allocations: 2.75 kB / 0.5359 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.3547, allocations: 0.5181 MB / 0.5364 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.3571, allocations: 0.7108 MB / 0.5371 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.3627, allocations: 4.808 MB / 0.5418 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.3652, allocations: 234.2 kB / 0.542 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.3654, allocations: 111.4 kB / 0.5421 GB, free: 11.21 MB / 398.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.0007266/0.3661, allocations: 403.1 kB / 0.5425 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/0.3665, allocations: 164.2 kB / 0.5427 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.3687, allocations: 1.173 MB / 0.5438 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.3688, allocations: 10.31 kB / 0.5438 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3688, allocations: 0 / 0.5438 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/0.3695, allocations: 394.9 kB / 0.5442 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.3698, allocations: 19.97 kB / 0.5442 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.371, allocations: 55.19 kB / 0.5443 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.3711, allocations: 81.25 kB / 0.5444 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00247/0.3736, allocations: 1.251 MB / 0.5456 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001879/0.3755, allocations: 1.477 MB / 0.547 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004731/0.376, allocations: 334.4 kB / 0.5474 GB, free: 7.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.3773, allocations: 0.8907 MB / 0.5482 GB, free: 6.359 MB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.3773, allocations: 2.844 kB / 0.5482 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004883/0.3822, allocations: 2.445 MB / 0.5506 GB, free: 3.965 MB / 398.1 MB Notification: Performance of SimCode: time 0.004064/0.3863, allocations: 2.93 MB / 0.5535 GB, free: 1.016 MB / 398.1 MB Notification: Performance of Templates: time 0.03872/0.425, allocations: 25.65 MB / 0.5785 GB, free: 7.477 MB / 430.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)