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.005378/0.005378, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001288/0.001288, allocations: 202 kB / 16.68 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1752/0.1752, allocations: 16.78 MB / 307.3 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.55 kB / 426.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09706, allocations: 53.58 MB / 480.2 MB, free: 10.44 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.01392/0.111, allocations: 17.56 MB / 497.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008085/0.1191, allocations: 4.899 MB / 0.4908 GB, free: 6.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.1212, allocations: 35.81 kB / 0.4909 GB, free: 6.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.1234, allocations: 0.6523 MB / 0.4915 GB, free: 5.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.1295, allocations: 2.189 MB / 0.4937 GB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1317, allocations: 0.8623 MB / 0.4945 GB, free: 2.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005223/0.1369, allocations: 3.319 MB / 0.4977 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.1381, allocations: 0.5676 MB / 0.4983 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.1404, allocations: 1.14 MB / 0.4994 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.1423, allocations: 1.14 MB / 0.5005 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000474/0.1428, allocations: 152 kB / 0.5007 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.1443, allocations: 0.4919 MB / 0.5011 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000448/0.1448, allocations: 354.4 kB / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.1464, allocations: 1.053 MB / 0.5025 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.1502, allocations: 2.748 MB / 0.5052 GB, free: 7.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1502, allocations: 0 / 0.5052 GB, free: 7.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1502, allocations: 0 / 0.5052 GB, free: 7.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.647e-05/0.1503, allocations: 0 / 0.5052 GB, free: 7.52 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.007918/0.1582, allocations: 2.82 MB / 0.5079 GB, free: 4.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1583, allocations: 12.03 kB / 0.508 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.1605, allocations: 463.3 kB / 0.5084 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.1626, allocations: 1.277 MB / 0.5096 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.1627, allocations: 98.83 kB / 0.5097 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.1628, allocations: 127.9 kB / 0.5099 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.1648, allocations: 1.46 MB / 0.5113 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.1648, allocations: 7.875 kB / 0.5113 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1649, allocations: 60 kB / 0.5114 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.1649, allocations: 32 kB / 0.5114 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.1665, allocations: 1.086 MB / 0.5124 GB, free: 15.77 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.01094/0.1774, allocations: 9.857 MB / 0.5221 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.1794, allocations: 1.275 MB / 0.5233 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.1799, allocations: 392.6 kB / 0.5237 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.18, allocations: 17.06 kB / 0.5237 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.18, allocations: 55.55 kB / 0.5238 GB, free: 3.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 4.98e-06/0.18, allocations: 112 / 0.5238 GB, free: 3.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.004731/0.1848, allocations: 1.904 MB / 0.5256 GB, free: 1.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1848, allocations: 94.05 kB / 0.5257 GB, free: 1.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.1866, allocations: 1.424 MB / 0.5271 GB, free: 40 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.1867, allocations: 49.78 kB / 0.5271 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/0.1873, allocations: 0.7153 MB / 0.5278 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.1877, allocations: 456.5 kB / 0.5283 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007973/0.1885, allocations: 0.633 MB / 0.5289 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1886, allocations: 305.1 kB / 0.5292 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.19, allocations: 0.9089 MB / 0.5301 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.1916, allocations: 1.184 MB / 0.5312 GB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.194, allocations: 1.702 MB / 0.5329 GB, free: 9.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.194, allocations: 0 / 0.5329 GB, free: 9.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005028/0.199, allocations: 3.027 MB / 0.5358 GB, free: 6.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1991, allocations: 7.984 kB / 0.5359 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1991, allocations: 4 kB / 0.5359 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002843/0.2019, allocations: 0.5169 MB / 0.5364 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/0.2045, allocations: 0.7139 MB / 0.5371 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005671/0.2101, allocations: 4.799 MB / 0.5417 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.2125, allocations: 234.5 kB / 0.542 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.2127, allocations: 108 kB / 0.5421 GB, free: 288 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.0006791/0.2134, allocations: 405.3 kB / 0.5425 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.2137, allocations: 167 kB / 0.5426 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.216, allocations: 1.18 MB / 0.5438 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.216, allocations: 7.969 kB / 0.5438 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.216, allocations: 0 / 0.5438 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006244/0.2167, allocations: 395.8 kB / 0.5442 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.2169, allocations: 20 kB / 0.5442 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.2179, allocations: 51.97 kB / 0.5442 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2181, allocations: 84.86 kB / 0.5443 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002546/0.2206, allocations: 1.256 MB / 0.5455 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001887/0.2225, allocations: 1.469 MB / 0.547 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004693/0.223, allocations: 335.8 kB / 0.5473 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.2241, allocations: 0.8868 MB / 0.5482 GB, free: 9.965 MB / 430.1 MB Notification: Performance of Backend: time 5.71e-07/0.2241, allocations: 0 / 0.5482 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004576/0.2287, allocations: 2.454 MB / 0.5506 GB, free: 7.488 MB / 430.1 MB Notification: Performance of SimCode: time 0.003652/0.2324, allocations: 2.931 MB / 0.5534 GB, free: 4.52 MB / 430.1 MB Notification: Performance of Templates: time 0.03857/0.271, allocations: 25.64 MB / 0.5785 GB, free: 10.89 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1)