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.008055/0.008055, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001797/0.001797, allocations: 193.6 kB / 16.67 MB, free: 5.91 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 / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1998/0.1998, allocations: 16.77 MB / 307.3 MB, free: 14.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 58.92 kB / 426.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 53.58 MB / 480.1 MB, free: 10.48 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.009906/0.1268, allocations: 10.76 MB / 490.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.1334, allocations: 3.755 MB / 494.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.1353, allocations: 23.88 kB / 494.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.1367, allocations: 314.2 kB / 495 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.1402, allocations: 1.198 MB / 496.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.1411, allocations: 275.9 kB / 496.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.1432, allocations: 1.167 MB / 497.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.1438, allocations: 209.8 kB / 497.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000961/0.1447, allocations: 422.4 kB / 498.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009746/0.1457, allocations: 430.2 kB / 498.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.146, allocations: 48 kB / 498.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.147, allocations: 251.8 kB / 499 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1472, allocations: 127.3 kB / 499.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006914/0.1479, allocations: 370.1 kB / 499.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.1496, allocations: 0.965 MB / 0.4887 GB, free: 8.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1496, allocations: 0 / 0.4887 GB, free: 8.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1496, allocations: 4 kB / 0.4887 GB, free: 8.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.127e-05/0.1497, allocations: 0 / 0.4887 GB, free: 8.375 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.003491/0.1532, allocations: 1.164 MB / 0.4898 GB, free: 7.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.1533, allocations: 12.03 kB / 0.4898 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.1538, allocations: 100.4 kB / 0.4899 GB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.1549, allocations: 0.5558 MB / 0.4905 GB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.1549, allocations: 37.38 kB / 0.4905 GB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.155, allocations: 52.31 kB / 0.4906 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008175/0.1558, allocations: 0.5181 MB / 0.4911 GB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1559, allocations: 3.938 kB / 0.4911 GB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.1559, allocations: 20 kB / 0.4911 GB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.156, allocations: 16 kB / 0.4911 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.1566, allocations: 375.5 kB / 0.4915 GB, free: 5.371 MB / 366.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.004349/0.161, allocations: 3.872 MB / 0.4952 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.1618, allocations: 0.6404 MB / 0.4959 GB, free: 464 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.1621, allocations: 153.5 kB / 0.496 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.1621, allocations: 11.98 kB / 0.496 GB, free: 296 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1622, allocations: 34.56 kB / 0.4961 GB, free: 252 kB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.1622, allocations: 0 / 0.4961 GB, free: 252 kB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.002412/0.1646, allocations: 0.8143 MB / 0.4969 GB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1646, allocations: 55.41 kB / 0.4969 GB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.1654, allocations: 0.5419 MB / 0.4974 GB, free: 14.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.1654, allocations: 41.64 kB / 0.4975 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.1657, allocations: 309 kB / 0.4978 GB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.1659, allocations: 158.6 kB / 0.4979 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.1661, allocations: 138.6 kB / 0.4981 GB, free: 14.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1663, allocations: 366.8 kB / 0.4984 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.1666, allocations: 161.9 kB / 0.4986 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.1672, allocations: 389 kB / 0.4989 GB, free: 13.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/0.168, allocations: 0.5618 MB / 0.4995 GB, free: 12.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.168, allocations: 4 kB / 0.4995 GB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001661/0.1697, allocations: 0.8016 MB / 0.5003 GB, free: 11.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1697, allocations: 8 kB / 0.5003 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.1697, allocations: 8 kB / 0.5003 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.1719, allocations: 382.3 kB / 0.5006 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.1723, allocations: 143.8 kB / 0.5008 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.178, allocations: 5.211 MB / 0.5059 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.1787, allocations: 75.5 kB / 0.5059 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.1788, allocations: 36 kB / 0.506 GB, free: 5.355 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.0002822/0.1791, allocations: 201.6 kB / 0.5062 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.1793, allocations: 63.62 kB / 0.5062 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009976/0.1803, allocations: 0.5002 MB / 0.5067 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1803, allocations: 3.984 kB / 0.5067 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1803, allocations: 4 kB / 0.5067 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.1806, allocations: 180.6 kB / 0.5069 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.1806, allocations: 4 kB / 0.5069 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.181, allocations: 19.98 kB / 0.5069 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.1812, allocations: 39.94 kB / 0.507 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001147/0.1823, allocations: 0.5357 MB / 0.5075 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008807/0.1832, allocations: 0.6799 MB / 0.5081 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000237/0.1835, allocations: 136.6 kB / 0.5083 GB, free: 2.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004417/0.1839, allocations: 370.8 kB / 0.5086 GB, free: 2.574 MB / 382.1 MB Notification: Performance of Backend: time 5.92e-07/0.1839, allocations: 0 / 0.5086 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.1861, allocations: 1.018 MB / 0.5096 GB, free: 1.516 MB / 382.1 MB Notification: Performance of SimCode: time 0.00219/0.1883, allocations: 1.635 MB / 0.5112 GB, free: 15.83 MB / 398.1 MB Notification: Performance of Templates: time 0.01974/0.2081, allocations: 9.909 MB / 0.5209 GB, free: 5.945 MB / 398.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)