Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.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.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 106.8 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.001291/0.001291, 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07353/0.07353, allocations: 16.78 MB / 308 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.88 kB / 427.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1117, allocations: 53.57 MB / 480.8 MB, free: 4.988 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 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. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.01184/0.1236, allocations: 10.77 MB / 491.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006782/0.1304, allocations: 3.753 MB / 495.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.1319, allocations: 23.88 kB / 495.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.1332, allocations: 310.2 kB / 495.7 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.1363, allocations: 1.157 MB / 496.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008988/0.1372, allocations: 280.8 kB / 497.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.1391, allocations: 1.167 MB / 498.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.1397, allocations: 217.8 kB / 498.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/0.1404, allocations: 418.4 kB / 498.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007383/0.1411, allocations: 434.1 kB / 499.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.1413, allocations: 48 kB / 499.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008983/0.1422, allocations: 251.8 kB / 499.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1424, allocations: 123.3 kB / 499.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.143, allocations: 374.1 kB / 0.4884 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1445, allocations: 0.9539 MB / 0.4893 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1446, allocations: 7.938 kB / 0.4893 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1446, allocations: 0 / 0.4893 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.813e-05/0.1446, allocations: 0 / 0.4893 GB, free: 0.6758 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003359/0.148, allocations: 1.149 MB / 0.4904 GB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.148, allocations: 8.031 kB / 0.4904 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/0.1485, allocations: 100.1 kB / 0.4905 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1496, allocations: 0.5398 MB / 0.4911 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.1496, allocations: 37.38 kB / 0.4911 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.53e-05/0.1497, allocations: 56.22 kB / 0.4912 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.1505, allocations: 0.5259 MB / 0.4917 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1506, allocations: 7.922 kB / 0.4917 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.1506, allocations: 20 kB / 0.4917 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1506, allocations: 8 kB / 0.4917 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.1513, allocations: 379.5 kB / 0.4921 GB, free: 13.7 MB / 382.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.004332/0.1556, allocations: 3.876 MB / 0.4959 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.1564, allocations: 0.6308 MB / 0.4965 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.1566, allocations: 148.8 kB / 0.4966 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.1567, allocations: 4 kB / 0.4966 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.1567, allocations: 42.56 kB / 0.4967 GB, free: 8.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.635e-06/0.1567, allocations: 0 / 0.4967 GB, free: 8.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002296/0.159, allocations: 0.8117 MB / 0.4974 GB, free: 7.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1591, allocations: 55.41 kB / 0.4975 GB, free: 7.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.1598, allocations: 0.5418 MB / 0.498 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.1598, allocations: 37.7 kB / 0.4981 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.1601, allocations: 304.3 kB / 0.4984 GB, free: 6.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.1602, allocations: 149.9 kB / 0.4985 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1604, allocations: 142.6 kB / 0.4986 GB, free: 6.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1606, allocations: 362.8 kB / 0.499 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.1609, allocations: 161.9 kB / 0.4991 GB, free: 5.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.1613, allocations: 389 kB / 0.4995 GB, free: 5.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/0.162, allocations: 0.5617 MB / 0.5001 GB, free: 4.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1621, allocations: 4.188 kB / 0.5001 GB, free: 4.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001672/0.1637, allocations: 0.7931 MB / 0.5008 GB, free: 4.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1638, allocations: 12.56 kB / 0.5008 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1638, allocations: 8 kB / 0.5009 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.1659, allocations: 386.1 kB / 0.5012 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.1663, allocations: 135.8 kB / 0.5013 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2776/0.4439, allocations: 5.19 MB / 0.5064 GB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/0.4449, allocations: 72.78 kB / 0.5065 GB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.445, allocations: 33.27 kB / 0.5065 GB, free: 33.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (bus.isSlackBusPF,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0003778/0.4454, allocations: 205.3 kB / 0.5067 GB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.4456, allocations: 58.72 kB / 0.5068 GB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.4469, allocations: 0.5021 MB / 0.5073 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4469, allocations: 1.922 kB / 0.5073 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4469, allocations: 3.719 kB / 0.5073 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.4473, allocations: 183.3 kB / 0.5074 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.4474, allocations: 10.59 kB / 0.5075 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.4479, allocations: 18.12 kB / 0.5075 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.448, allocations: 36.52 kB / 0.5075 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001223/0.4492, allocations: 0.5357 MB / 0.508 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008468/0.4501, allocations: 0.6688 MB / 0.5087 GB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002141/0.4503, allocations: 134.7 kB / 0.5088 GB, free: 32.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004794/0.4508, allocations: 369.2 kB / 0.5092 GB, free: 32.39 MB / 382.1 MB Notification: Performance of Backend: time 6.61e-07/0.4508, allocations: 0 / 0.5092 GB, free: 32.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.4532, allocations: 1.018 MB / 0.5102 GB, free: 31.83 MB / 382.1 MB Notification: Performance of SimCode: time 0.002297/0.4555, allocations: 2.349 MB / 0.5124 GB, free: 30.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01918/0.4747, allocations: 12.22 MB / 0.5244 GB, free: 26.26 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)