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.001423/0.001423, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001498/0.001498, allocations: 187 kB / 17.34 MB, free: 5.742 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07342/0.07342, allocations: 16.77 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 427.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 53.57 MB / 480.8 MB, free: 4.965 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.03181/0.1443, allocations: 33.71 MB / 0.5025 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2531/0.3974, allocations: 8.359 MB / 0.5106 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004252/0.4017, allocations: 62.88 kB / 0.5107 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.4062, allocations: 1.149 MB / 0.5118 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.4177, allocations: 3.465 MB / 0.5152 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.4225, allocations: 1.642 MB / 0.5168 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.434, allocations: 6.56 MB / 0.5232 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.437, allocations: 1.129 MB / 0.5243 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/0.4423, allocations: 2.235 MB / 0.5265 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005207/0.4476, allocations: 2.34 MB / 0.5288 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.4492, allocations: 299.3 kB / 0.5291 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004835/0.4541, allocations: 0.8176 MB / 0.5299 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.4555, allocations: 0.693 MB / 0.5306 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005394/0.4609, allocations: 2.076 MB / 0.5326 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009395/0.4703, allocations: 5.312 MB / 0.5378 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4704, allocations: 0 / 0.5378 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4704, allocations: 0 / 0.5378 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001876/0.4706, allocations: 0 / 0.5378 GB, free: 15.51 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.02121/0.4918, allocations: 5.206 MB / 0.5429 GB, free: 12.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4919, allocations: 11.48 kB / 0.5429 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005718/0.4976, allocations: 0.8509 MB / 0.5437 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006612/0.5042, allocations: 2.31 MB / 0.546 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.5045, allocations: 205.5 kB / 0.5461 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008396/0.5054, allocations: 260.6 kB / 0.5464 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006735/0.5121, allocations: 2.888 MB / 0.5492 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/0.5122, allocations: 19.81 kB / 0.5492 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005654/0.5128, allocations: 112 kB / 0.5493 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/0.5129, allocations: 68 kB / 0.5494 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004698/0.5176, allocations: 2.295 MB / 0.5517 GB, free: 4.203 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.02949/0.5471, allocations: 19.35 MB / 0.5705 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004925/0.5521, allocations: 2.968 MB / 0.5734 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.5537, allocations: 0.862 MB / 0.5743 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.5539, allocations: 37.2 kB / 0.5743 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.602e-05/0.5539, allocations: 60.56 kB / 0.5744 GB, free: 11.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 4.338e-06/0.554, allocations: 0 / 0.5744 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.01315/0.5671, allocations: 4.192 MB / 0.5785 GB, free: 7.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.5672, allocations: 103.1 kB / 0.5786 GB, free: 7.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/0.5727, allocations: 2.576 MB / 0.5811 GB, free: 4.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005009/0.5732, allocations: 77.7 kB / 0.5812 GB, free: 4.777 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.5748, allocations: 1.283 MB / 0.5824 GB, free: 3.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00153/0.5763, allocations: 0.9122 MB / 0.5833 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004155/0.5805, allocations: 1.265 MB / 0.5845 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5806, allocations: 309 kB / 0.5848 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/0.5847, allocations: 1.818 MB / 0.5866 GB, free: 15.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004587/0.5893, allocations: 2.493 MB / 0.589 GB, free: 12.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/0.5961, allocations: 3.568 MB / 0.5925 GB, free: 8.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/0.5961, allocations: 4 kB / 0.5925 GB, free: 8.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01642/0.6126, allocations: 6.153 MB / 0.5985 GB, free: 2.695 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.6126, allocations: 9.562 kB / 0.5986 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.6127, allocations: 8 kB / 0.5986 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00576/0.6185, allocations: 1.085 MB / 0.5996 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005965/0.6244, allocations: 1.35 MB / 0.6009 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.6407, allocations: 10.84 MB / 0.6115 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006725/0.6475, allocations: 440 kB / 0.6119 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/0.6487, allocations: 231.9 kB / 0.6122 GB, free: 4.176 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.002559/0.6513, allocations: 0.6839 MB / 0.6128 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/0.6526, allocations: 296.4 kB / 0.6131 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/0.658, allocations: 2.368 MB / 0.6154 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/0.6581, allocations: 11.97 kB / 0.6154 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6581, allocations: 0 / 0.6154 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/0.6605, allocations: 0.6571 MB / 0.6161 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/0.6616, allocations: 39.94 kB / 0.6161 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003068/0.6647, allocations: 95.88 kB / 0.6162 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/0.6651, allocations: 165.7 kB / 0.6164 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005952/0.6711, allocations: 2.41 MB / 0.6187 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005018/0.6761, allocations: 2.822 MB / 0.6215 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001067/0.6772, allocations: 0.6989 MB / 0.6222 GB, free: 9.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003205/0.6804, allocations: 1.566 MB / 0.6237 GB, free: 8.324 MB / 478.1 MB Notification: Performance of Backend: time 5.81e-07/0.6805, allocations: 0 / 0.6237 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01375/0.6942, allocations: 5.03 MB / 0.6286 GB, free: 3.281 MB / 478.1 MB Notification: Performance of SimCode: time 0.01329/0.7076, allocations: 6.651 MB / 0.6351 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Templates: time 0.09919/0.8068, allocations: 71.23 MB / 0.7047 GB, free: 5.316 MB / 0.545 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)