Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001277/0.001277, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07625/0.07625, allocations: 16.76 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 427.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08013/0.08129, allocations: 53.56 MB / 480.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004722/0.08605, allocations: 4.554 MB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.08877, allocations: 2.353 MB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.08896, allocations: 7.938 kB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.08943, allocations: 246.6 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.09149, allocations: 1.18 MB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.09216, allocations: 354.3 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009617/0.09313, allocations: 1.039 MB / 490.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.09329, allocations: 77.73 kB / 490.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.09364, allocations: 374.4 kB / 491 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.09403, allocations: 374.3 kB / 491.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.0941, allocations: 44 kB / 491.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.09451, allocations: 247.8 kB / 491.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.09462, allocations: 115.4 kB / 491.7 MB, free: 10 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.09491, allocations: 338.2 kB / 492.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.09578, allocations: 0.8755 MB / 492.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.09579, allocations: 0 / 492.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0958, allocations: 0 / 492.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.09581, allocations: 0 / 492.9 MB, free: 8.793 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002932/0.09875, allocations: 1.238 MB / 494.2 MB, free: 7.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.09879, allocations: 8.031 kB / 494.2 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.09913, allocations: 100.4 kB / 494.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007354/0.09987, allocations: 0.5107 MB / 494.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.09991, allocations: 29.38 kB / 494.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.09997, allocations: 44.38 kB / 494.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.1006, allocations: 0.5154 MB / 495.4 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1006, allocations: 11.88 kB / 495.4 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1007, allocations: 16 kB / 495.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1007, allocations: 12 kB / 495.4 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005013/0.1012, allocations: 350.1 kB / 495.8 MB, free: 5.797 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.003137/0.1043, allocations: 3.409 MB / 499.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.1049, allocations: 279.3 kB / 499.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.105, allocations: 96.84 kB / 499.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1051, allocations: 4 kB / 499.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1051, allocations: 34.55 kB / 499.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.1051, allocations: 0 / 499.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009278/0.106, allocations: 487.5 kB / 0.4883 GB, free: 1.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.1061, allocations: 55.41 kB / 0.4884 GB, free: 1.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/0.1067, allocations: 0.6121 MB / 0.489 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1068, allocations: 29.7 kB / 0.489 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.107, allocations: 328.7 kB / 0.4893 GB, free: 216 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.1071, allocations: 127 kB / 0.4895 GB, free: 88 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.1074, allocations: 238.9 kB / 0.4897 GB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1075, allocations: 386.8 kB / 0.4901 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.108, allocations: 298.5 kB / 0.4903 GB, free: 15.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.1085, allocations: 418.5 kB / 0.4907 GB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/0.1092, allocations: 0.5649 MB / 0.4913 GB, free: 14.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1092, allocations: 3.938 kB / 0.4913 GB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001427/0.1107, allocations: 0.9856 MB / 0.4923 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1107, allocations: 7.938 kB / 0.4923 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1107, allocations: 4 kB / 0.4923 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.1109, allocations: 48.89 kB / 0.4923 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.1119, allocations: 251.6 kB / 0.4926 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.1119, allocations: 8 kB / 0.4926 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/0.1126, allocations: 83.45 kB / 0.4926 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.1127, allocations: 40 kB / 0.4927 GB, free: 12.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.1129, allocations: 205.5 kB / 0.4929 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.113, allocations: 71.55 kB / 0.4929 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.1136, allocations: 325.2 kB / 0.4933 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1136, allocations: 0 / 0.4933 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1136, allocations: 0 / 0.4933 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.1138, allocations: 188.7 kB / 0.4934 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.1139, allocations: 4 kB / 0.4934 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.1143, allocations: 23.98 kB / 0.4935 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1144, allocations: 19.91 kB / 0.4935 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006259/0.115, allocations: 349.6 kB / 0.4938 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006012/0.1156, allocations: 0.5339 MB / 0.4943 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001299/0.1158, allocations: 91.98 kB / 0.4944 GB, free: 10.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004245/0.1162, allocations: 402.8 kB / 0.4948 GB, free: 10.48 MB / 382.1 MB Notification: Performance of Backend: time 2.7e-07/0.1162, allocations: 0 / 0.4948 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.1175, allocations: 0.8082 MB / 0.4956 GB, free: 9.648 MB / 382.1 MB Notification: Performance of SimCode: time 0.001328/0.1189, allocations: 1.284 MB / 0.4968 GB, free: 8.309 MB / 382.1 MB Notification: Performance of Templates: time 0.1749/0.2938, allocations: 8.988 MB / 0.5056 GB, free: 35.97 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)