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.004588/0.004587, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.001046/0.001046, allocations: 193.1 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1764/0.1764, allocations: 16.78 MB / 307.3 MB, free: 14.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 61.34 kB / 426.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.07935, allocations: 53.57 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 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.02379/0.1032, allocations: 33.73 MB / 0.5019 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1157, allocations: 8.361 MB / 0.51 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.1186, allocations: 67.69 kB / 0.5101 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.1212, allocations: 1.149 MB / 0.5112 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008033/0.1293, allocations: 3.663 MB / 0.5148 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.1325, allocations: 1.65 MB / 0.5164 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00713/0.1397, allocations: 6.564 MB / 0.5228 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.1412, allocations: 1.133 MB / 0.5239 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.1441, allocations: 2.238 MB / 0.5261 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.1468, allocations: 2.331 MB / 0.5284 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.1472, allocations: 300 kB / 0.5287 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.1488, allocations: 0.82 MB / 0.5295 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.1493, allocations: 0.6922 MB / 0.5301 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.1514, allocations: 2.076 MB / 0.5322 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006438/0.1579, allocations: 5.321 MB / 0.5374 GB, free: 6.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1579, allocations: 12 kB / 0.5374 GB, free: 6.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1579, allocations: 3.938 kB / 0.5374 GB, free: 6.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.331e-05/0.158, allocations: 0 / 0.5374 GB, free: 6.352 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.01642/0.1744, allocations: 5.299 MB / 0.5426 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1745, allocations: 8.031 kB / 0.5426 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/0.1792, allocations: 0.8769 MB / 0.5434 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/0.1834, allocations: 2.332 MB / 0.5457 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.1835, allocations: 201 kB / 0.5459 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.1838, allocations: 256 kB / 0.5461 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003856/0.1877, allocations: 2.888 MB / 0.549 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.1878, allocations: 23.75 kB / 0.549 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.188, allocations: 112 kB / 0.5491 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.188, allocations: 64 kB / 0.5491 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.1914, allocations: 2.295 MB / 0.5514 GB, free: 7.484 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.0216/0.213, allocations: 19.38 MB / 0.5703 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.2168, allocations: 2.965 MB / 0.5732 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.218, allocations: 0.8556 MB / 0.574 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.2181, allocations: 29.98 kB / 0.5741 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.2182, allocations: 64.56 kB / 0.5741 GB, free: 14.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=227): time 4.088e-06/0.2182, allocations: 0 / 0.5741 GB, free: 14.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.01147/0.2297, allocations: 4.195 MB / 0.5782 GB, free: 10.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.2297, allocations: 103.1 kB / 0.5783 GB, free: 10.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.2331, allocations: 2.585 MB / 0.5808 GB, free: 7.988 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.2333, allocations: 73.7 kB / 0.5809 GB, free: 7.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.2344, allocations: 1.327 MB / 0.5822 GB, free: 6.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/0.2353, allocations: 0.9457 MB / 0.5831 GB, free: 5.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.2369, allocations: 1.273 MB / 0.5844 GB, free: 4.336 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.237, allocations: 309 kB / 0.5847 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.2397, allocations: 1.814 MB / 0.5864 GB, free: 2.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1907/0.4304, allocations: 2.489 MB / 0.5889 GB, free: 103.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.4353, allocations: 3.565 MB / 0.5924 GB, free: 102.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.4354, allocations: 2.719 kB / 0.5924 GB, free: 102.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01145/0.4468, allocations: 6.176 MB / 0.5984 GB, free: 101.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.4469, allocations: 11.91 kB / 0.5984 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.447, allocations: 8.781 kB / 0.5984 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/0.4531, allocations: 1.089 MB / 0.5995 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005363/0.4585, allocations: 1.358 MB / 0.6008 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.4702, allocations: 10.85 MB / 0.6114 GB, free: 93.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.475, allocations: 454.6 kB / 0.6118 GB, free: 93.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/0.4753, allocations: 223.6 kB / 0.612 GB, free: 92.97 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.00111/0.4765, allocations: 0.6843 MB / 0.6127 GB, free: 92.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.4769, allocations: 316.8 kB / 0.613 GB, free: 92.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.4804, allocations: 2.361 MB / 0.6153 GB, free: 91.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.4805, allocations: 16.38 kB / 0.6153 GB, free: 91.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4805, allocations: 3.891 kB / 0.6153 GB, free: 91.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.4815, allocations: 0.6763 MB / 0.616 GB, free: 91.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.4819, allocations: 41.09 kB / 0.616 GB, free: 91.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.4837, allocations: 90.73 kB / 0.6161 GB, free: 91.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.4839, allocations: 170.3 kB / 0.6163 GB, free: 91 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00443/0.4883, allocations: 2.42 MB / 0.6187 GB, free: 90.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003103/0.4914, allocations: 2.841 MB / 0.6214 GB, free: 88.68 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008168/0.4923, allocations: 0.6992 MB / 0.6221 GB, free: 88.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001651/0.4939, allocations: 1.57 MB / 0.6236 GB, free: 86.99 MB / 462.1 MB Notification: Performance of Backend: time 3.81e-07/0.4939, allocations: 0 / 0.6236 GB, free: 86.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008093/0.502, allocations: 5.039 MB / 0.6286 GB, free: 81.98 MB / 462.1 MB Notification: Performance of SimCode: time 0.006168/0.5082, allocations: 5.515 MB / 0.6339 GB, free: 76.48 MB / 462.1 MB Notification: Performance of Templates: time 0.05653/0.5648, allocations: 45.58 MB / 0.6785 GB, free: 31.05 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)