Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.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.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008998/0.008997, allocations: 104.9 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.001692/0.001691, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.522/1.522, allocations: 222.9 MB / 240.3 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.1981/0.1981, allocations: 16.77 MB / 307.3 MB, free: 14.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.23 kB / 426.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.1003, 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 GEN.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 GEN.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 GRIDL.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 GRIDL.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/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter line.componentPF.UNomA 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/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter line.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 bus.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 bus.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 infiniteBus.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 infiniteBus.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.SimpleGrid): time 0.02916/0.1295, allocations: 33.72 MB / 0.5018 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02063/0.1501, allocations: 8.369 MB / 0.51 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004972/0.1552, allocations: 63.69 kB / 0.5101 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004438/0.1596, allocations: 1.161 MB / 0.5112 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.1737, allocations: 3.663 MB / 0.5148 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006085/0.1798, allocations: 1.645 MB / 0.5164 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01176/0.1916, allocations: 6.558 MB / 0.5228 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.1939, allocations: 1.137 MB / 0.5239 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.1979, allocations: 2.23 MB / 0.5261 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.202, allocations: 2.338 MB / 0.5284 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009182/0.2029, allocations: 300 kB / 0.5286 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.2061, allocations: 0.8278 MB / 0.5295 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007954/0.2069, allocations: 0.6883 MB / 0.5301 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004054/0.211, allocations: 2.08 MB / 0.5322 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008332/0.2194, allocations: 5.308 MB / 0.5373 GB, free: 6.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2194, allocations: 0 / 0.5373 GB, free: 6.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2194, allocations: 0 / 0.5373 GB, free: 6.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001597/0.2196, allocations: 0 / 0.5373 GB, free: 6.434 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.0186/0.2382, allocations: 5.193 MB / 0.5424 GB, free: 1.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.2383, allocations: 8.031 kB / 0.5424 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.2433, allocations: 0.8632 MB / 0.5433 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005228/0.2485, allocations: 2.31 MB / 0.5455 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.2487, allocations: 197 kB / 0.5457 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005026/0.2493, allocations: 256 kB / 0.5459 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004785/0.2541, allocations: 2.888 MB / 0.5488 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/0.2541, allocations: 15.81 kB / 0.5488 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.2544, allocations: 112 kB / 0.5489 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.2544, allocations: 75.92 kB / 0.549 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.2583, allocations: 2.292 MB / 0.5512 GB, free: 7.711 MB / 430.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.02674/0.285, allocations: 19.36 MB / 0.5701 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/0.2895, allocations: 2.97 MB / 0.573 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.2909, allocations: 0.8556 MB / 0.5738 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.2911, allocations: 33.98 kB / 0.5739 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.2912, allocations: 64.56 kB / 0.5739 GB, free: 15.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=227): time 5.12e-06/0.2912, allocations: 0 / 0.5739 GB, free: 15.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.01237/0.3036, allocations: 4.181 MB / 0.578 GB, free: 10.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.3036, allocations: 103.1 kB / 0.5781 GB, free: 10.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.3077, allocations: 2.576 MB / 0.5806 GB, free: 8.238 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003801/0.3081, allocations: 73.7 kB / 0.5807 GB, free: 8.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3092, allocations: 1.291 MB / 0.582 GB, free: 6.852 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001182/0.3104, allocations: 0.9026 MB / 0.5829 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/0.3125, allocations: 1.261 MB / 0.5841 GB, free: 4.668 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.3126, allocations: 309.1 kB / 0.5844 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/0.3156, allocations: 1.822 MB / 0.5862 GB, free: 2.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.239/0.5547, allocations: 2.484 MB / 0.5886 GB, free: 103.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/0.5603, allocations: 3.57 MB / 0.5921 GB, free: 102.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/0.5604, allocations: 4.219 kB / 0.5921 GB, free: 102.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.0123/0.5727, allocations: 6.156 MB / 0.5981 GB, free: 101.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.5727, allocations: 8.531 kB / 0.5981 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.5728, allocations: 11.66 kB / 0.5981 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006346/0.5791, allocations: 1.09 MB / 0.5992 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006096/0.5852, allocations: 1.356 MB / 0.6005 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.5988, allocations: 10.83 MB / 0.6111 GB, free: 93.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/0.6048, allocations: 448.5 kB / 0.6115 GB, free: 93.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006/0.6054, allocations: 223.5 kB / 0.6117 GB, free: 93.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 5 (infiniteBus.componentPF.isSlackBus,bus.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GEN.componentPF.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 847 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.6068, allocations: 0.6845 MB / 0.6124 GB, free: 92.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006507/0.6074, allocations: 300 kB / 0.6127 GB, free: 92.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.6113, allocations: 2.37 MB / 0.615 GB, free: 91.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.6113, allocations: 10.55 kB / 0.615 GB, free: 91.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.6114, allocations: 3.781 kB / 0.615 GB, free: 91.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.6128, allocations: 0.6578 MB / 0.6156 GB, free: 91.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.6132, allocations: 38.53 kB / 0.6157 GB, free: 91.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/0.615, allocations: 86.41 kB / 0.6158 GB, free: 91.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.6153, allocations: 170 kB / 0.6159 GB, free: 91.13 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004565/0.6199, allocations: 2.416 MB / 0.6183 GB, free: 90.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003643/0.6235, allocations: 2.826 MB / 0.621 GB, free: 88.84 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008472/0.6244, allocations: 0.7009 MB / 0.6217 GB, free: 88.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001923/0.6263, allocations: 1.564 MB / 0.6232 GB, free: 87.1 MB / 462.1 MB Notification: Performance of Backend: time 9.32e-07/0.6263, allocations: 0 / 0.6232 GB, free: 87.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008974/0.6353, allocations: 5.023 MB / 0.6282 GB, free: 82.11 MB / 462.1 MB Notification: Performance of SimCode: time 0.008116/0.6435, allocations: 5.422 MB / 0.6334 GB, free: 76.71 MB / 462.1 MB Notification: Performance of Templates: time 0.06324/0.7067, allocations: 45.59 MB / 0.678 GB, free: 31.28 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)