Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.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.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003965/0.003965, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.0009874/0.0009875, allocations: 193.5 kB / 16.67 MB, free: 5.973 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1791/0.1791, allocations: 16.77 MB / 307.3 MB, free: 14.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.77 kB / 426.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07636/0.07784, allocations: 53.58 MB / 480.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.007344/0.08521, allocations: 10.39 MB / 490.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.08966, allocations: 3.511 MB / 494.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/0.0906, allocations: 19.94 kB / 494.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.09176, allocations: 417.4 kB / 494.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.09545, allocations: 1.695 MB / 496.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.09677, allocations: 0.6644 MB / 496.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.09908, allocations: 2.037 MB / 498.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.09939, allocations: 138.8 kB / 499 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.1003, allocations: 0.6925 MB / 499.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000927/0.1012, allocations: 0.743 MB / 0.4887 GB, free: 8.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.1014, allocations: 76 kB / 0.4888 GB, free: 8.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008459/0.1023, allocations: 403.7 kB / 0.4892 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.1025, allocations: 214.9 kB / 0.4894 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006774/0.1032, allocations: 0.6529 MB / 0.49 GB, free: 7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.1048, allocations: 1.608 MB / 0.4916 GB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1048, allocations: 8 kB / 0.4916 GB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1048, allocations: 0 / 0.4916 GB, free: 5.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1049, allocations: 0 / 0.4916 GB, free: 5.379 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005833/0.1107, allocations: 2.116 MB / 0.4937 GB, free: 3.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1107, allocations: 16.03 kB / 0.4937 GB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006226/0.1114, allocations: 179.3 kB / 0.4939 GB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.1127, allocations: 0.8057 MB / 0.4946 GB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.1128, allocations: 66.38 kB / 0.4947 GB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.1129, allocations: 88.31 kB / 0.4948 GB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.1142, allocations: 1.022 MB / 0.4958 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.1142, allocations: 7.938 kB / 0.4958 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.1143, allocations: 36 kB / 0.4958 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.1143, allocations: 24 kB / 0.4958 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1155, allocations: 0.7999 MB / 0.4966 GB, free: 0 / 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.006867/0.1224, allocations: 6.601 MB / 0.5031 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.1237, allocations: 0.72 MB / 0.5038 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.1242, allocations: 293.4 kB / 0.5041 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.1242, allocations: 8.656 kB / 0.5041 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1243, allocations: 43.2 kB / 0.5041 GB, free: 7.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.074e-06/0.1243, allocations: 0 / 0.5041 GB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003162/0.1274, allocations: 1.287 MB / 0.5054 GB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.1275, allocations: 60.06 kB / 0.5054 GB, free: 6.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.1287, allocations: 1.007 MB / 0.5064 GB, free: 5.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.1287, allocations: 41.7 kB / 0.5064 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.1291, allocations: 0.5104 MB / 0.5069 GB, free: 4.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.1293, allocations: 304.1 kB / 0.5072 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006172/0.13, allocations: 481.3 kB / 0.5077 GB, free: 4.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1301, allocations: 341.9 kB / 0.508 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.1311, allocations: 0.6533 MB / 0.5087 GB, free: 3.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.1322, allocations: 0.852 MB / 0.5095 GB, free: 2.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.1339, allocations: 1.232 MB / 0.5107 GB, free: 1.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1339, allocations: 0 / 0.5107 GB, free: 1.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003305/0.1372, allocations: 2.152 MB / 0.5128 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1373, allocations: 8 kB / 0.5128 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1373, allocations: 0 / 0.5128 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.1379, allocations: 183.5 kB / 0.513 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.1397, allocations: 0.5149 MB / 0.5135 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.1428, allocations: 2.704 MB / 0.5161 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.1443, allocations: 170.6 kB / 0.5163 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.1445, allocations: 79.98 kB / 0.5164 GB, free: 11.07 MB / 398.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 (node1.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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004/0.1449, allocations: 289.3 kB / 0.5166 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.1451, allocations: 106.8 kB / 0.5167 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.1465, allocations: 0.7859 MB / 0.5175 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.1465, allocations: 8 kB / 0.5175 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1465, allocations: 4 kB / 0.5175 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1465, allocations: 7.984 kB / 0.5175 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.1489, allocations: 1.805 MB / 0.5193 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1489, allocations: 3.984 kB / 0.5193 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.1493, allocations: 111.8 kB / 0.5194 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005253/0.1499, allocations: 160.7 kB / 0.5195 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.1499, allocations: 16 kB / 0.5196 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.1527, allocations: 2.653 MB / 0.5222 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1527, allocations: 3.938 kB / 0.5222 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.1541, allocations: 0.8627 MB / 0.523 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.1545, allocations: 275.8 kB / 0.5233 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.1546, allocations: 16 kB / 0.5233 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.1553, allocations: 35.92 kB / 0.5233 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.1554, allocations: 48.53 kB / 0.5234 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.1555, allocations: 23.98 kB / 0.5234 GB, free: 3.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007518/0.1562, allocations: 0.6135 MB / 0.524 GB, free: 2.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1562, allocations: 0 / 0.524 GB, free: 2.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001125/0.1573, allocations: 0.5037 MB / 0.5245 GB, free: 2.465 MB / 398.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 (60): * Single equations (assignments): 59 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002582/0.1576, allocations: 175.1 kB / 0.5246 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.1599, allocations: 1.573 MB / 0.5262 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1599, allocations: 96 / 0.5262 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.1605, allocations: 498.1 kB / 0.5267 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.1612, allocations: 95.3 kB / 0.5267 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1632, allocations: 1.497 MB / 0.5282 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1637, allocations: 1.001 MB / 0.5292 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005064/0.1642, allocations: 173.9 kB / 0.5293 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.1645, allocations: 87.42 kB / 0.5294 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1645, allocations: 0 / 0.5294 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Templates: time 0.02255/0.187, allocations: 15.01 MB / 0.5441 GB, free: 14.3 MB / 430.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)