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.005029/0.005029, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001259/0.001259, allocations: 188.8 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.196/1.196, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07173/0.07173, allocations: 16.77 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.89 kB / 426.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07959/0.0807, allocations: 53.55 MB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.00461/0.08534, allocations: 4.557 MB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.08816, allocations: 2.341 MB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.08835, allocations: 11.94 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.08882, allocations: 242.6 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.09086, allocations: 1.184 MB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.09153, allocations: 357.6 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000969/0.09251, allocations: 1.03 MB / 489.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.09267, allocations: 77.75 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.093, allocations: 374.4 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.0934, allocations: 378.3 kB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.09348, allocations: 40 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.0939, allocations: 251.8 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.094, allocations: 115.4 kB / 491.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.09428, allocations: 354 kB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008561/0.09514, allocations: 0.8639 MB / 492.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09515, allocations: 0 / 492.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09516, allocations: 0 / 492.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.09518, allocations: 0 / 492.3 MB, free: 8.777 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.002811/0.098, allocations: 1.23 MB / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.09804, allocations: 12.03 kB / 493.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.09836, allocations: 100.5 kB / 493.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.09909, allocations: 0.5185 MB / 494.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.09912, allocations: 29.38 kB / 494.2 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.09918, allocations: 44.38 kB / 494.2 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.09978, allocations: 0.5153 MB / 494.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.0998, allocations: 7.938 kB / 494.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.09985, allocations: 16 kB / 494.7 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.09987, allocations: 19.98 kB / 494.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.1004, allocations: 346.1 kB / 495.1 MB, free: 5.777 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.003051/0.1034, allocations: 3.405 MB / 498.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.1039, allocations: 282.5 kB / 498.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1041, allocations: 96.83 kB / 498.9 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.1041, allocations: 8 kB / 498.9 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1042, allocations: 34.5 kB / 498.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.333e-06/0.1042, allocations: 0 / 498.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008692/0.105, allocations: 479.6 kB / 499.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.1051, allocations: 55.41 kB / 499.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.1057, allocations: 0.6121 MB / 0.4883 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1057, allocations: 29.7 kB / 0.4884 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1059, allocations: 336.6 kB / 0.4887 GB, free: 196 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.106, allocations: 131 kB / 0.4888 GB, free: 64 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.1063, allocations: 239 kB / 0.489 GB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1065, allocations: 382.8 kB / 0.4894 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.1069, allocations: 298.5 kB / 0.4897 GB, free: 15.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.1074, allocations: 410.5 kB / 0.4901 GB, free: 14.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.1081, allocations: 0.5649 MB / 0.4906 GB, free: 14.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1081, allocations: 0 / 0.4906 GB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001368/0.1095, allocations: 0.9892 MB / 0.4916 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1095, allocations: 4 kB / 0.4916 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1095, allocations: 12.06 kB / 0.4916 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.1097, allocations: 40.83 kB / 0.4916 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.1107, allocations: 251.6 kB / 0.4919 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1107, allocations: 15.92 kB / 0.4919 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.1113, allocations: 79.47 kB / 0.492 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.1114, allocations: 43.98 kB / 0.492 GB, free: 12.71 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.0002101/0.1116, allocations: 205.5 kB / 0.4922 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/0.1117, allocations: 67.56 kB / 0.4923 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.1123, allocations: 325.2 kB / 0.4926 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1123, allocations: 7.984 kB / 0.4926 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1123, allocations: 0 / 0.4926 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1123, allocations: 0 / 0.4926 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1133, allocations: 0.9463 MB / 0.4935 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1133, allocations: 0 / 0.4935 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.1136, allocations: 51.97 kB / 0.4936 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.1137, allocations: 40.92 kB / 0.4936 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1137, allocations: 15.88 kB / 0.4936 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1137, allocations: 0 / 0.4936 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1137, allocations: 4 kB / 0.4936 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.1143, allocations: 418.5 kB / 0.494 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.1145, allocations: 192.5 kB / 0.4942 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.1146, allocations: 4 kB / 0.4942 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.115, allocations: 23.97 kB / 0.4942 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.115, allocations: 19.97 kB / 0.4943 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.115, allocations: 15.98 kB / 0.4943 GB, free: 10.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.1155, allocations: 402.8 kB / 0.4947 GB, free: 9.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1155, allocations: 0 / 0.4947 GB, free: 9.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.116, allocations: 239.9 kB / 0.4949 GB, free: 9.633 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0001841/0.1162, allocations: 148.8 kB / 0.495 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008924/0.1171, allocations: 0.7045 MB / 0.4957 GB, free: 8.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1171, allocations: 4.062 kB / 0.4957 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1173, allocations: 189.9 kB / 0.4959 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.1178, allocations: 66.22 kB / 0.496 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/0.1188, allocations: 0.8185 MB / 0.4968 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1192, allocations: 0.8477 MB / 0.4976 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.1194, allocations: 93.17 kB / 0.4977 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.1195, allocations: 47.44 kB / 0.4977 GB, free: 6.602 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1195, allocations: 0 / 0.4977 GB, free: 6.602 MB / 382.1 MB Notification: Performance of Templates: time 0.1683/0.2878, allocations: 6.94 MB / 0.5045 GB, free: 34.43 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)