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.008327/0.008327, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001602/0.001603, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2057/0.2057, allocations: 16.78 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 60.52 kB / 426.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.128, allocations: 53.57 MB / 480.2 MB, free: 10.38 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.01473/0.1428, allocations: 17.57 MB / 497.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.1524, allocations: 4.892 MB / 0.4908 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.1555, allocations: 35.81 kB / 0.4909 GB, free: 6.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.1582, allocations: 0.6484 MB / 0.4915 GB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007246/0.1655, allocations: 2.19 MB / 0.4936 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.1679, allocations: 0.8706 MB / 0.4945 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005485/0.1734, allocations: 3.314 MB / 0.4977 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.1747, allocations: 0.5754 MB / 0.4983 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.177, allocations: 1.132 MB / 0.4994 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.1793, allocations: 1.148 MB / 0.5005 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006295/0.18, allocations: 152 kB / 0.5007 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.1821, allocations: 491.8 kB / 0.5011 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006142/0.1828, allocations: 358.3 kB / 0.5015 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002299/0.1851, allocations: 1.053 MB / 0.5025 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004683/0.1898, allocations: 2.749 MB / 0.5052 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1898, allocations: 0 / 0.5052 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1898, allocations: 0 / 0.5052 GB, free: 7.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.741e-05/0.1899, 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.01012/0.2, allocations: 2.763 MB / 0.5079 GB, free: 4.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.2001, allocations: 8.031 kB / 0.5079 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.2031, allocations: 450.3 kB / 0.5083 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.2065, allocations: 1.26 MB / 0.5096 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2066, allocations: 98.83 kB / 0.5097 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.2069, allocations: 131.9 kB / 0.5098 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.2097, allocations: 1.46 MB / 0.5112 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.2097, allocations: 7.938 kB / 0.5112 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.2099, allocations: 56 kB / 0.5113 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.2099, allocations: 39.94 kB / 0.5113 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.2118, allocations: 1.074 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.01281/0.2247, allocations: 9.856 MB / 0.522 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.2268, allocations: 1.28 MB / 0.5232 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.2275, allocations: 396.7 kB / 0.5236 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-05/0.2276, allocations: 21 kB / 0.5236 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.2276, allocations: 51.56 kB / 0.5237 GB, free: 3.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 3.026e-06/0.2276, allocations: 0 / 0.5237 GB, free: 3.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.005177/0.2328, allocations: 1.888 MB / 0.5255 GB, free: 1.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.2329, allocations: 98.11 kB / 0.5256 GB, free: 1.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.2354, allocations: 1.42 MB / 0.527 GB, free: 96 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.2356, allocations: 45.7 kB / 0.527 GB, free: 44 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007653/0.2364, allocations: 0.6979 MB / 0.5277 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.2369, allocations: 438.4 kB / 0.5281 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.2382, allocations: 0.6327 MB / 0.5288 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.2383, allocations: 309.1 kB / 0.5291 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.2399, allocations: 0.8971 MB / 0.5299 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.2419, allocations: 1.195 MB / 0.5311 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.2448, allocations: 1.695 MB / 0.5328 GB, free: 10.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.2448, allocations: 4 kB / 0.5328 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005922/0.2507, allocations: 3.011 MB / 0.5357 GB, free: 7.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.2508, allocations: 8 kB / 0.5357 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.2508, allocations: 4 kB / 0.5357 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.2538, allocations: 0.5208 MB / 0.5362 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.2569, allocations: 0.71 MB / 0.5369 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/0.2634, allocations: 4.791 MB / 0.5416 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.2668, allocations: 234 kB / 0.5418 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005524/0.2674, allocations: 108 kB / 0.5419 GB, free: 404 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.001216/0.2686, allocations: 393.5 kB / 0.5423 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006594/0.2693, allocations: 158.1 kB / 0.5424 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.272, allocations: 1.184 MB / 0.5436 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.272, allocations: 7.984 kB / 0.5436 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.272, allocations: 0 / 0.5436 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.2731, allocations: 386.9 kB / 0.544 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/0.2736, allocations: 24 kB / 0.544 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.275, allocations: 55.95 kB / 0.544 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.2752, allocations: 80.88 kB / 0.5441 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003066/0.2783, allocations: 1.258 MB / 0.5454 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00242/0.2807, allocations: 1.461 MB / 0.5468 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005419/0.2813, allocations: 331.9 kB / 0.5471 GB, free: 11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.2828, allocations: 0.8907 MB / 0.548 GB, free: 10.11 MB / 430.1 MB Notification: Performance of Backend: time 3.4e-07/0.2828, allocations: 0 / 0.548 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00598/0.2888, allocations: 2.438 MB / 0.5503 GB, free: 7.641 MB / 430.1 MB Notification: Performance of SimCode: time 0.004572/0.2934, allocations: 2.889 MB / 0.5532 GB, free: 4.715 MB / 430.1 MB Notification: Performance of Templates: time 0.04176/0.3352, allocations: 25.65 MB / 0.5782 GB, free: 11.08 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)