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.00508/0.00508, allocations: 99.34 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.001224/0.001224, allocations: 197.4 kB / 16.67 MB, free: 5.934 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.218/1.218, 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.1604/0.1604, allocations: 16.78 MB / 307.3 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 72.7 kB / 426.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07853/0.07968, allocations: 53.57 MB / 480.2 MB, free: 10.39 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.02376/0.1035, allocations: 33.73 MB / 0.5019 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.1161, allocations: 8.365 MB / 0.51 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.1188, allocations: 67.62 kB / 0.5101 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.1219, allocations: 1.153 MB / 0.5112 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008536/0.1304, allocations: 3.664 MB / 0.5148 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.1341, allocations: 1.638 MB / 0.5164 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00748/0.1416, allocations: 6.562 MB / 0.5228 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.1431, allocations: 1.137 MB / 0.5239 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.1457, allocations: 2.238 MB / 0.5261 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.1483, allocations: 2.338 MB / 0.5284 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004607/0.1488, allocations: 296 kB / 0.5287 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.1505, allocations: 0.8278 MB / 0.5295 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004804/0.151, allocations: 0.6844 MB / 0.5301 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.153, allocations: 2.08 MB / 0.5322 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005316/0.1583, allocations: 5.325 MB / 0.5374 GB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1583, allocations: 0 / 0.5374 GB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1584, allocations: 0 / 0.5374 GB, free: 6.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.547e-05/0.1584, allocations: 3.938 kB / 0.5374 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.01438/0.1728, allocations: 5.303 MB / 0.5426 GB, free: 1.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1729, allocations: 8.031 kB / 0.5426 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/0.1771, allocations: 0.8769 MB / 0.5434 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/0.1808, allocations: 2.332 MB / 0.5457 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1809, allocations: 197 kB / 0.5459 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.1812, allocations: 256 kB / 0.5461 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.1849, allocations: 2.892 MB / 0.549 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.1849, allocations: 11.88 kB / 0.549 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.1851, allocations: 115.9 kB / 0.5491 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.1852, allocations: 64 kB / 0.5491 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.1884, allocations: 2.295 MB / 0.5514 GB, free: 7.57 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.02045/0.2089, allocations: 19.39 MB / 0.5703 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.2127, allocations: 2.965 MB / 0.5732 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.2138, allocations: 0.8526 MB / 0.574 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.214, allocations: 38.05 kB / 0.5741 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.214, allocations: 56.56 kB / 0.5741 GB, free: 15.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=227): time 3.937e-06/0.214, allocations: 0 / 0.5741 GB, free: 15.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.01101/0.2251, allocations: 4.199 MB / 0.5782 GB, free: 10.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.2251, allocations: 99.11 kB / 0.5783 GB, free: 10.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.2283, allocations: 2.589 MB / 0.5809 GB, free: 8.062 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.2285, allocations: 73.7 kB / 0.5809 GB, free: 7.984 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000866/0.2294, allocations: 1.323 MB / 0.5822 GB, free: 6.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007882/0.2302, allocations: 0.9496 MB / 0.5831 GB, free: 5.691 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.2317, allocations: 1.265 MB / 0.5844 GB, free: 4.418 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.2318, allocations: 305.1 kB / 0.5847 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.2344, allocations: 1.826 MB / 0.5865 GB, free: 2.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1882/0.4226, allocations: 2.49 MB / 0.5889 GB, free: 103.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.4276, allocations: 3.563 MB / 0.5924 GB, free: 102.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.4276, allocations: 2.75 kB / 0.5924 GB, free: 102.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01043/0.4381, allocations: 6.176 MB / 0.5984 GB, free: 101.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.4381, allocations: 13.3 kB / 0.5984 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.4382, allocations: 8.938 kB / 0.5984 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005811/0.444, allocations: 1.086 MB / 0.5995 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/0.4489, allocations: 1.355 MB / 0.6008 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.4604, allocations: 10.85 MB / 0.6114 GB, free: 93.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/0.4648, allocations: 457.7 kB / 0.6118 GB, free: 93.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/0.4651, allocations: 224.1 kB / 0.6121 GB, free: 93.06 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.001112/0.4662, allocations: 0.6808 MB / 0.6127 GB, free: 92.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.4667, allocations: 317.4 kB / 0.613 GB, free: 92.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.4702, allocations: 2.376 MB / 0.6153 GB, free: 91.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.4703, allocations: 11.3 kB / 0.6154 GB, free: 91.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4703, allocations: 1.438 kB / 0.6154 GB, free: 91.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/0.4712, allocations: 0.6676 MB / 0.616 GB, free: 91.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.4715, allocations: 35.78 kB / 0.616 GB, free: 91.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.4731, allocations: 93.33 kB / 0.6161 GB, free: 91.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.4734, allocations: 174.7 kB / 0.6163 GB, free: 91.09 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004184/0.4776, allocations: 2.412 MB / 0.6186 GB, free: 90.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003164/0.4807, allocations: 2.84 MB / 0.6214 GB, free: 88.78 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008528/0.4816, allocations: 0.7051 MB / 0.6221 GB, free: 88.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001688/0.4833, allocations: 1.566 MB / 0.6236 GB, free: 87.09 MB / 462.1 MB Notification: Performance of Backend: time 8.42e-07/0.4833, allocations: 0 / 0.6236 GB, free: 87.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007723/0.491, allocations: 5.038 MB / 0.6286 GB, free: 82.12 MB / 462.1 MB Notification: Performance of SimCode: time 0.005836/0.4969, allocations: 5.523 MB / 0.634 GB, free: 76.62 MB / 462.1 MB Notification: Performance of Templates: time 0.05322/0.5501, allocations: 45.59 MB / 0.6785 GB, free: 31.18 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)