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.00503/0.00503, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001204/0.001204, allocations: 194 kB / 16.68 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07255/0.07255, allocations: 16.77 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 59.91 kB / 426.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08354, allocations: 53.57 MB / 480.2 MB, free: 4.926 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.02678/0.1104, allocations: 33.72 MB / 0.5018 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1944/0.3048, allocations: 8.355 MB / 0.51 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.3076, allocations: 64.69 kB / 0.5101 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.3106, allocations: 1.149 MB / 0.5112 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008157/0.3188, allocations: 3.665 MB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.3221, allocations: 1.648 MB / 0.5164 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008291/0.3304, allocations: 6.568 MB / 0.5228 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.332, allocations: 1.118 MB / 0.5239 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/0.3355, allocations: 2.237 MB / 0.5261 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.3385, allocations: 2.34 MB / 0.5283 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008363/0.3394, allocations: 299.3 kB / 0.5286 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.3424, allocations: 0.8244 MB / 0.5294 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004821/0.3429, allocations: 0.6847 MB / 0.5301 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.3449, allocations: 2.084 MB / 0.5321 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.3496, allocations: 5.307 MB / 0.5373 GB, free: 15.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3496, allocations: 0 / 0.5373 GB, free: 15.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3497, allocations: 0 / 0.5373 GB, free: 15.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-05/0.3497, allocations: 0 / 0.5373 GB, free: 15.34 MB / 398.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.0158/0.3655, allocations: 5.203 MB / 0.5424 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3656, allocations: 10.12 kB / 0.5424 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.3702, allocations: 0.86 MB / 0.5433 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/0.3747, allocations: 2.312 MB / 0.5455 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.3748, allocations: 199.4 kB / 0.5457 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.3752, allocations: 262.6 kB / 0.546 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.3796, allocations: 2.888 MB / 0.5488 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.653e-05/0.3796, allocations: 19.81 kB / 0.5488 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.3799, allocations: 116 kB / 0.5489 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/0.3799, allocations: 64 kB / 0.549 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.3837, allocations: 2.295 MB / 0.5512 GB, free: 3.949 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.02367/0.4074, allocations: 19.37 MB / 0.5701 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.4114, allocations: 2.958 MB / 0.573 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.4127, allocations: 0.8581 MB / 0.5738 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.4129, allocations: 38.36 kB / 0.5739 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.4129, allocations: 60.5 kB / 0.5739 GB, free: 11.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 4.849e-06/0.4129, allocations: 0 / 0.5739 GB, free: 11.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.0119/0.4248, allocations: 4.184 MB / 0.578 GB, free: 7.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.4249, allocations: 107 kB / 0.5781 GB, free: 7.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/0.4291, allocations: 2.58 MB / 0.5806 GB, free: 4.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.4293, allocations: 69.7 kB / 0.5807 GB, free: 4.523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.4305, allocations: 1.289 MB / 0.582 GB, free: 3.246 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.4316, allocations: 0.9186 MB / 0.5829 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00247/0.434, allocations: 1.257 MB / 0.5841 GB, free: 1.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.4341, allocations: 305.1 kB / 0.5844 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/0.4373, allocations: 1.822 MB / 0.5862 GB, free: 14.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/0.4407, allocations: 2.489 MB / 0.5886 GB, free: 12.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/0.4459, allocations: 3.572 MB / 0.5921 GB, free: 8.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.4459, allocations: 0 / 0.5921 GB, free: 8.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01066/0.4566, allocations: 6.152 MB / 0.5981 GB, free: 2.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4566, allocations: 12 kB / 0.5981 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.4567, allocations: 11.94 kB / 0.5981 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005747/0.4624, allocations: 1.087 MB / 0.5992 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004767/0.4672, allocations: 1.354 MB / 0.6005 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.4811, allocations: 10.83 MB / 0.6111 GB, free: 4.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/0.4866, allocations: 447.9 kB / 0.6115 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008211/0.4874, allocations: 231.9 kB / 0.6117 GB, free: 3.91 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.001813/0.4893, allocations: 0.6839 MB / 0.6124 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008901/0.4902, allocations: 296.4 kB / 0.6127 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.4947, allocations: 2.364 MB / 0.615 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.4947, allocations: 15.95 kB / 0.615 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4947, allocations: 0 / 0.615 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/0.4963, allocations: 0.6571 MB / 0.6156 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000686/0.497, allocations: 44 kB / 0.6157 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/0.4992, allocations: 87.89 kB / 0.6158 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.4995, allocations: 169.7 kB / 0.6159 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005148/0.5046, allocations: 2.41 MB / 0.6183 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004191/0.5088, allocations: 2.818 MB / 0.621 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009973/0.5099, allocations: 0.7027 MB / 0.6217 GB, free: 9.629 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002447/0.5123, allocations: 1.57 MB / 0.6233 GB, free: 8.055 MB / 478.1 MB Notification: Performance of Backend: time 4.71e-07/0.5123, allocations: 0 / 0.6233 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.5229, allocations: 5.031 MB / 0.6282 GB, free: 3.012 MB / 478.1 MB Notification: Performance of SimCode: time 0.008931/0.5319, allocations: 5.414 MB / 0.6335 GB, free: 13.58 MB / 494.1 MB Notification: Performance of Templates: time 0.07046/0.6023, allocations: 45.58 MB / 0.678 GB, free: 176 kB / 0.5137 GB 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)