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.001265/0.001265, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001186/0.001186, allocations: 187 kB / 17.34 MB, free: 5.719 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07654/0.07654, allocations: 16.77 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.09 kB / 427.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 53.56 MB / 480.8 MB, free: 4.957 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.0288/0.1314, allocations: 33.73 MB / 0.5025 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3017/0.4332, allocations: 8.359 MB / 0.5107 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/0.4377, allocations: 62.97 kB / 0.5107 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004698/0.4424, allocations: 1.16 MB / 0.5119 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.4546, allocations: 3.657 MB / 0.5154 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005188/0.4598, allocations: 1.641 MB / 0.517 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01384/0.4736, allocations: 6.57 MB / 0.5234 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004117/0.4778, allocations: 1.131 MB / 0.5245 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007424/0.4853, allocations: 2.229 MB / 0.5267 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006654/0.492, allocations: 2.337 MB / 0.529 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.4935, allocations: 300.3 kB / 0.5293 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.4991, allocations: 0.8198 MB / 0.5301 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.5001, allocations: 0.6917 MB / 0.5308 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006044/0.5062, allocations: 2.081 MB / 0.5328 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.517, allocations: 5.304 MB / 0.538 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5171, allocations: 0 / 0.538 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5171, allocations: 0 / 0.538 GB, free: 15.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001565/0.5173, allocations: 1.156 kB / 0.538 GB, free: 15.36 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.03147/0.5488, allocations: 5.21 MB / 0.5431 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.453e-05/0.5489, allocations: 8.469 kB / 0.5431 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008971/0.5578, allocations: 0.8578 MB / 0.5439 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009791/0.5677, allocations: 2.314 MB / 0.5462 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.5679, allocations: 192.3 kB / 0.5464 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006527/0.5686, allocations: 268.6 kB / 0.5466 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007146/0.5758, allocations: 2.892 MB / 0.5494 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-05/0.5759, allocations: 15.81 kB / 0.5495 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000406/0.5763, allocations: 112 kB / 0.5496 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.352e-05/0.5764, allocations: 68 kB / 0.5496 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006302/0.5828, allocations: 2.292 MB / 0.5519 GB, free: 4.02 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.04205/0.6248, allocations: 19.36 MB / 0.5708 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007048/0.6319, allocations: 2.958 MB / 0.5737 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.634, allocations: 0.8595 MB / 0.5745 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.6342, allocations: 28.97 kB / 0.5745 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.696e-05/0.6343, allocations: 64.55 kB / 0.5746 GB, free: 11.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 6.832e-06/0.6343, allocations: 0 / 0.5746 GB, free: 11.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.01963/0.6539, allocations: 4.189 MB / 0.5787 GB, free: 7.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.6541, allocations: 99.11 kB / 0.5788 GB, free: 7.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006198/0.6603, allocations: 2.58 MB / 0.5813 GB, free: 4.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00048/0.6608, allocations: 69.7 kB / 0.5814 GB, free: 4.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.6624, allocations: 1.289 MB / 0.5826 GB, free: 3.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/0.6642, allocations: 0.9104 MB / 0.5835 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002835/0.667, allocations: 1.269 MB / 0.5847 GB, free: 1.145 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6672, allocations: 309 kB / 0.585 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004892/0.6721, allocations: 1.822 MB / 0.5868 GB, free: 15.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00563/0.6778, allocations: 2.489 MB / 0.5892 GB, free: 12.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006279/0.6841, allocations: 3.568 MB / 0.5927 GB, free: 8.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/0.6841, allocations: 0 / 0.5927 GB, free: 8.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01339/0.6975, allocations: 6.152 MB / 0.5987 GB, free: 2.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.6976, allocations: 12 kB / 0.5988 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.6977, allocations: 8 kB / 0.5988 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006055/0.7037, allocations: 1.08 MB / 0.5998 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/0.7097, allocations: 1.361 MB / 0.6011 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/0.7261, allocations: 10.83 MB / 0.6117 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007108/0.7333, allocations: 448 kB / 0.6121 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/0.7345, allocations: 227.9 kB / 0.6124 GB, free: 3.996 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.002868/0.7374, allocations: 0.6855 MB / 0.613 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/0.7388, allocations: 300.4 kB / 0.6133 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005654/0.7445, allocations: 2.368 MB / 0.6156 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/0.7445, allocations: 7.969 kB / 0.6156 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7445, allocations: 0 / 0.6156 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/0.7472, allocations: 0.6571 MB / 0.6163 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/0.7483, allocations: 39.98 kB / 0.6163 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/0.7513, allocations: 99.88 kB / 0.6164 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/0.7517, allocations: 161.7 kB / 0.6166 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005862/0.7576, allocations: 2.415 MB / 0.6189 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005051/0.7627, allocations: 2.822 MB / 0.6217 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001104/0.7638, allocations: 0.7028 MB / 0.6224 GB, free: 9.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003138/0.7669, allocations: 1.562 MB / 0.6239 GB, free: 8.141 MB / 478.1 MB Notification: Performance of Backend: time 6.92e-07/0.767, allocations: 4 kB / 0.6239 GB, free: 8.137 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01343/0.7804, allocations: 5.028 MB / 0.6288 GB, free: 3.094 MB / 478.1 MB Notification: Performance of SimCode: time 0.01231/0.7927, allocations: 6.663 MB / 0.6353 GB, free: 12.42 MB / 494.1 MB Notification: Performance of Templates: time 0.09333/0.8861, allocations: 71.21 MB / 0.7049 GB, free: 5.148 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)