Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.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.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006856/0.006856, allocations: 107.7 kB / 15.74 MB, free: 5.996 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.001173/0.001173, allocations: 194.7 kB / 16.67 MB, free: 5.918 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 / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07395/0.07395, allocations: 16.77 MB / 307.3 MB, free: 14.37 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 426.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1262, allocations: 53.56 MB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.01156/0.1378, allocations: 10.39 MB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006549/0.1444, allocations: 3.515 MB / 494 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.1456, allocations: 15.94 kB / 494 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1468, allocations: 421.4 kB / 494.5 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.1512, allocations: 1.695 MB / 496.2 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1526, allocations: 0.6557 MB / 496.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.1555, allocations: 2.042 MB / 498.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.1558, allocations: 146.7 kB / 499 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.1567, allocations: 0.6847 MB / 499.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008304/0.1576, allocations: 0.7469 MB / 0.4887 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.1577, allocations: 80 kB / 0.4888 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1588, allocations: 407.7 kB / 0.4892 GB, free: 96 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.159, allocations: 207 kB / 0.4894 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.1597, allocations: 0.6606 MB / 0.49 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.1616, allocations: 1.612 MB / 0.4916 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1616, allocations: 0 / 0.4916 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1616, allocations: 0 / 0.4916 GB, free: 13.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1616, allocations: 0 / 0.4916 GB, free: 13.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006283/0.1679, allocations: 2.12 MB / 0.4936 GB, free: 11.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.168, allocations: 8.031 kB / 0.4937 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006539/0.1686, allocations: 175.4 kB / 0.4938 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.1701, allocations: 0.8057 MB / 0.4946 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.1702, allocations: 66.38 kB / 0.4947 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1703, allocations: 88.31 kB / 0.4948 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1717, allocations: 1.022 MB / 0.4958 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1717, allocations: 11.94 kB / 0.4958 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.1718, allocations: 36 kB / 0.4958 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.1718, allocations: 20 kB / 0.4958 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.173, allocations: 0.796 MB / 0.4966 GB, free: 8.242 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.007336/0.1804, allocations: 6.575 MB / 0.503 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.1819, allocations: 0.7444 MB / 0.5037 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.1823, allocations: 278.8 kB / 0.504 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.982e-05/0.1824, allocations: 16.72 kB / 0.504 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.1824, allocations: 39.22 kB / 0.5041 GB, free: 244 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.765e-06/0.1824, allocations: 0 / 0.5041 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.2878/0.4702, allocations: 1.241 MB / 0.5053 GB, free: 34.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4703, allocations: 59.69 kB / 0.5053 GB, free: 34.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.4718, allocations: 0.9984 MB / 0.5063 GB, free: 33.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-05/0.4719, allocations: 45.2 kB / 0.5064 GB, free: 33.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.4723, allocations: 0.4984 MB / 0.5068 GB, free: 33.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.4726, allocations: 313.5 kB / 0.5071 GB, free: 33.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/0.4732, allocations: 483.4 kB / 0.5076 GB, free: 33.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.4734, allocations: 344.7 kB / 0.5079 GB, free: 33.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4744, allocations: 0.6456 MB / 0.5086 GB, free: 33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.4756, allocations: 0.8484 MB / 0.5094 GB, free: 32.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.4773, allocations: 1.232 MB / 0.5106 GB, free: 31.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.4773, allocations: 0 / 0.5106 GB, free: 31.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003574/0.4809, allocations: 2.134 MB / 0.5127 GB, free: 31.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.481, allocations: 5.438 kB / 0.5127 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.481, allocations: 6.203 kB / 0.5127 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/0.4817, allocations: 167.9 kB / 0.5128 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.4837, allocations: 0.5165 MB / 0.5133 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.4873, allocations: 2.615 MB / 0.5159 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.4895, allocations: 168.5 kB / 0.5161 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.4897, allocations: 79.09 kB / 0.5161 GB, free: 28.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005997/0.4903, allocations: 292.4 kB / 0.5164 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.4906, allocations: 109 kB / 0.5165 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4923, allocations: 0.7805 MB / 0.5173 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4923, allocations: 7.594 kB / 0.5173 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4923, allocations: 1.812 kB / 0.5173 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.4923, allocations: 3.469 kB / 0.5173 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.4953, allocations: 1.812 MB / 0.5191 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4953, allocations: 1.344 kB / 0.5191 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.4958, allocations: 121.1 kB / 0.5192 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/0.4964, allocations: 157.9 kB / 0.5193 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.4964, allocations: 12.23 kB / 0.5193 GB, free: 27.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.4991, allocations: 2.582 MB / 0.5219 GB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4991, allocations: 6.625 kB / 0.5219 GB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.5007, allocations: 0.8609 MB / 0.5227 GB, free: 24.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.5012, allocations: 279.2 kB / 0.523 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.5013, allocations: 11.25 kB / 0.523 GB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.502, allocations: 37.72 kB / 0.523 GB, free: 24.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5021, allocations: 42.66 kB / 0.5231 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.5022, allocations: 25.05 kB / 0.5231 GB, free: 24.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008964/0.5031, allocations: 0.628 MB / 0.5237 GB, free: 23.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5031, allocations: 6.734 kB / 0.5237 GB, free: 23.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001682/0.5048, allocations: 0.4889 MB / 0.5242 GB, free: 23.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/0.5051, allocations: 180.4 kB / 0.5244 GB, free: 23.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.5076, allocations: 1.567 MB / 0.5259 GB, free: 23.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5077, allocations: 0 / 0.5259 GB, free: 23.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.5083, allocations: 475.5 kB / 0.5263 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.509, allocations: 92.78 kB / 0.5264 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.5111, allocations: 1.505 MB / 0.5279 GB, free: 22.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.5116, allocations: 0.9965 MB / 0.5289 GB, free: 21.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005854/0.5122, allocations: 177.9 kB / 0.529 GB, free: 21.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.5124, allocations: 80.91 kB / 0.5291 GB, free: 21.26 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5124, allocations: 4 kB / 0.5291 GB, free: 21.26 MB / 382.1 MB Notification: Performance of Templates: time 0.02017/0.5326, allocations: 14.81 MB / 0.5436 GB, free: 9.77 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)