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.004406/0.004406, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001066/0.001066, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07293/0.07293, allocations: 16.77 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.91 kB / 426.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.08292, allocations: 53.56 MB / 480.2 MB, free: 4.934 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.02729/0.1103, allocations: 33.72 MB / 0.5018 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1908/0.3011, allocations: 8.36 MB / 0.51 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.304, allocations: 66.03 kB / 0.5101 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.3072, allocations: 1.159 MB / 0.5112 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00875/0.3159, allocations: 3.66 MB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.3195, allocations: 1.64 MB / 0.5164 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007844/0.3274, allocations: 6.572 MB / 0.5228 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.3294, allocations: 1.12 MB / 0.5239 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.333, allocations: 2.237 MB / 0.5261 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003716/0.3367, allocations: 2.338 MB / 0.5283 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009411/0.3377, allocations: 299.5 kB / 0.5286 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.3409, allocations: 0.8233 MB / 0.5294 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008596/0.3418, allocations: 0.6835 MB / 0.5301 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003902/0.3457, allocations: 2.086 MB / 0.5321 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006801/0.3525, allocations: 5.308 MB / 0.5373 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3526, allocations: 0 / 0.5373 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3526, allocations: 0 / 0.5373 GB, free: 15.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.3527, allocations: 0 / 0.5373 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.01624/0.369, allocations: 5.204 MB / 0.5424 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.369, allocations: 8.375 kB / 0.5424 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.3734, allocations: 0.8601 MB / 0.5433 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/0.3773, allocations: 2.309 MB / 0.5455 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3774, allocations: 198.1 kB / 0.5457 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.3777, allocations: 262.7 kB / 0.5459 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.3814, allocations: 2.896 MB / 0.5488 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.304e-05/0.3814, allocations: 15.88 kB / 0.5488 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.3817, allocations: 108 kB / 0.5489 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.3817, allocations: 68 kB / 0.549 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/0.385, allocations: 2.295 MB / 0.5512 GB, free: 4 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.02056/0.4056, allocations: 19.36 MB / 0.5701 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/0.4093, allocations: 2.965 MB / 0.573 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.4105, allocations: 0.8517 MB / 0.5738 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.4106, allocations: 32.48 kB / 0.5739 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.4107, allocations: 68.5 kB / 0.5739 GB, free: 11.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 4.389e-06/0.4107, allocations: 3.938 kB / 0.5739 GB, free: 11.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.01101/0.4217, allocations: 4.184 MB / 0.578 GB, free: 7.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4218, allocations: 99.11 kB / 0.5781 GB, free: 7.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.4251, allocations: 2.584 MB / 0.5806 GB, free: 4.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4253, allocations: 73.7 kB / 0.5807 GB, free: 4.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009295/0.4262, allocations: 1.29 MB / 0.582 GB, free: 3.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008264/0.427, allocations: 0.9048 MB / 0.5829 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.4287, allocations: 1.265 MB / 0.5841 GB, free: 1.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.4288, allocations: 305.1 kB / 0.5844 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.4315, allocations: 1.822 MB / 0.5862 GB, free: 15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/0.4347, allocations: 2.489 MB / 0.5886 GB, free: 12.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/0.4395, allocations: 3.572 MB / 0.5921 GB, free: 8.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.4395, allocations: 4 kB / 0.5921 GB, free: 8.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.009745/0.4493, allocations: 6.162 MB / 0.5981 GB, free: 2.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4493, allocations: 8 kB / 0.5981 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.4493, allocations: 8 kB / 0.5981 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005564/0.4549, allocations: 1.085 MB / 0.5992 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004669/0.4596, allocations: 1.354 MB / 0.6005 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.4727, allocations: 10.84 MB / 0.6111 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/0.4771, allocations: 440 kB / 0.6115 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/0.4775, allocations: 231.9 kB / 0.6117 GB, free: 3.965 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.001143/0.4786, allocations: 0.6898 MB / 0.6124 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.4791, allocations: 296.4 kB / 0.6127 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.4832, allocations: 2.368 MB / 0.615 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.4832, allocations: 7.969 kB / 0.615 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4832, allocations: 4 kB / 0.615 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.4843, allocations: 0.661 MB / 0.6157 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/0.4847, allocations: 39.98 kB / 0.6157 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.4864, allocations: 87.89 kB / 0.6158 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.4866, allocations: 169.7 kB / 0.6159 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004711/0.4913, allocations: 2.41 MB / 0.6183 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003688/0.495, allocations: 2.829 MB / 0.6211 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009404/0.496, allocations: 0.695 MB / 0.6217 GB, free: 9.676 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002016/0.498, allocations: 1.566 MB / 0.6233 GB, free: 8.105 MB / 478.1 MB Notification: Performance of Backend: time 4.3e-07/0.498, allocations: 0 / 0.6233 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008567/0.5066, allocations: 5.022 MB / 0.6282 GB, free: 3.066 MB / 478.1 MB Notification: Performance of SimCode: time 0.006921/0.5135, allocations: 5.418 MB / 0.6335 GB, free: 13.63 MB / 494.1 MB Notification: Performance of Templates: time 0.06731/0.5808, allocations: 45.58 MB / 0.678 GB, free: 224 kB / 0.5137 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)