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.005197/0.005197, allocations: 97.62 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.001103/0.001103, allocations: 195 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.275/1.275, 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.0742/0.0742, allocations: 16.77 MB / 307.3 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.91 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09037, allocations: 53.57 MB / 480.2 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.02713/0.1175, allocations: 33.72 MB / 0.5018 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2213/0.3388, allocations: 8.361 MB / 0.51 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.3419, allocations: 64.59 kB / 0.5101 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.3451, allocations: 1.151 MB / 0.5112 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009687/0.3548, allocations: 3.661 MB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.3587, allocations: 1.641 MB / 0.5164 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008296/0.367, allocations: 6.571 MB / 0.5228 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.3689, allocations: 1.123 MB / 0.5239 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.3726, allocations: 2.239 MB / 0.5261 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/0.3767, allocations: 2.333 MB / 0.5283 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008192/0.3775, allocations: 299.6 kB / 0.5286 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.3808, allocations: 0.8265 MB / 0.5294 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.3813, allocations: 0.6893 MB / 0.5301 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.3841, allocations: 2.077 MB / 0.5321 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.39, allocations: 5.33 MB / 0.5373 GB, free: 15.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.39, allocations: 0 / 0.5373 GB, free: 15.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.39, allocations: 1.375 kB / 0.5373 GB, free: 15.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.3901, allocations: 4 kB / 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.01753/0.4077, allocations: 5.299 MB / 0.5425 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4077, allocations: 10.31 kB / 0.5425 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004578/0.4123, allocations: 0.8727 MB / 0.5434 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004873/0.4172, allocations: 2.332 MB / 0.5457 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.4173, allocations: 194.5 kB / 0.5458 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/0.4177, allocations: 259.2 kB / 0.5461 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004216/0.4219, allocations: 2.888 MB / 0.5489 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.422, allocations: 15.81 kB / 0.5489 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.4222, allocations: 116 kB / 0.549 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.4223, allocations: 68 kB / 0.5491 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.4258, allocations: 2.292 MB / 0.5513 GB, free: 3.852 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.02398/0.4498, allocations: 19.39 MB / 0.5703 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.4539, allocations: 2.958 MB / 0.5732 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.4552, allocations: 0.8567 MB / 0.574 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.4553, allocations: 41.72 kB / 0.574 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.4553, allocations: 60.5 kB / 0.5741 GB, free: 11.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 3.687e-06/0.4554, allocations: 0 / 0.5741 GB, free: 11.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.0116/0.467, allocations: 4.203 MB / 0.5782 GB, free: 7.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.467, allocations: 103 kB / 0.5783 GB, free: 7.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.4713, allocations: 2.581 MB / 0.5808 GB, free: 4.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002634/0.4716, allocations: 73.7 kB / 0.5809 GB, free: 4.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4727, allocations: 1.334 MB / 0.5822 GB, free: 3.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.4738, allocations: 0.9398 MB / 0.5831 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/0.4761, allocations: 1.273 MB / 0.5844 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.4762, allocations: 309.1 kB / 0.5847 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.4793, allocations: 1.819 MB / 0.5864 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/0.4829, allocations: 2.489 MB / 0.5889 GB, free: 12.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/0.4881, allocations: 3.568 MB / 0.5923 GB, free: 8.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.4881, allocations: 4 kB / 0.5923 GB, free: 8.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01075/0.4988, allocations: 6.169 MB / 0.5984 GB, free: 2.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.4989, allocations: 17.5 kB / 0.5984 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.4989, allocations: 12.22 kB / 0.5984 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005663/0.5046, allocations: 1.087 MB / 0.5995 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/0.5102, allocations: 1.354 MB / 0.6008 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.5243, allocations: 10.86 MB / 0.6114 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00571/0.53, allocations: 457.1 kB / 0.6118 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009185/0.531, allocations: 228 kB / 0.612 GB, free: 3.648 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.002473/0.5334, allocations: 0.6801 MB / 0.6127 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.5345, allocations: 314.1 kB / 0.613 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.539, allocations: 2.372 MB / 0.6153 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.539, allocations: 11.97 kB / 0.6153 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.539, allocations: 0 / 0.6153 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.5406, allocations: 0.6745 MB / 0.616 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006156/0.5412, allocations: 36 kB / 0.616 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/0.5434, allocations: 95.69 kB / 0.6161 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/0.5437, allocations: 169.7 kB / 0.6163 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005091/0.5488, allocations: 2.413 MB / 0.6186 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004109/0.5529, allocations: 2.831 MB / 0.6214 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009867/0.5539, allocations: 0.7027 MB / 0.6221 GB, free: 9.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002133/0.556, allocations: 1.57 MB / 0.6236 GB, free: 7.746 MB / 478.1 MB Notification: Performance of Backend: time 3.81e-07/0.5561, allocations: 0 / 0.6236 GB, free: 7.746 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/0.5666, allocations: 5.048 MB / 0.6286 GB, free: 2.684 MB / 478.1 MB Notification: Performance of SimCode: time 0.01062/0.5772, allocations: 5.514 MB / 0.6339 GB, free: 13.15 MB / 494.1 MB Notification: Performance of Templates: time 0.07225/0.6495, allocations: 45.58 MB / 0.6784 GB, free: 15.73 MB / 0.5294 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)