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.0071/0.0071, allocations: 97.75 kB / 15.73 MB, free: 6.004 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.001069/0.00107, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1572/0.1572, allocations: 16.78 MB / 307.3 MB, free: 14.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 64.88 kB / 426.6 MB, free: 36.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07369/0.07487, allocations: 53.56 MB / 480.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.003823/0.07872, allocations: 4.569 MB / 484.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.08093, allocations: 2.342 MB / 487 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.08114, allocations: 14.97 kB / 487.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.08159, allocations: 244.1 kB / 487.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.08337, allocations: 1.181 MB / 488.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.08394, allocations: 353.4 kB / 488.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.08473, allocations: 1.04 MB / 489.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.08489, allocations: 64.08 kB / 489.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.08521, allocations: 377.5 kB / 490.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.08551, allocations: 378.3 kB / 490.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.08557, allocations: 40 kB / 490.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.08594, allocations: 251.8 kB / 491 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.08602, allocations: 115.4 kB / 491.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.08624, allocations: 342.1 kB / 491.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.08693, allocations: 0.8755 MB / 492.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.08694, allocations: 0 / 492.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.08695, allocations: 0 / 492.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.08696, allocations: 0 / 492.3 MB, free: 0.6367 MB / 350.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.002812/0.08978, allocations: 1.233 MB / 493.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.08982, allocations: 12.03 kB / 493.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.09015, allocations: 96.48 kB / 493.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.09091, allocations: 0.5107 MB / 494.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.09095, allocations: 37.38 kB / 494.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.09101, allocations: 40.38 kB / 494.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.09167, allocations: 0.5154 MB / 494.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.0917, allocations: 3.938 kB / 494.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.09174, allocations: 23.94 kB / 494.7 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.09176, allocations: 12 kB / 494.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.09226, allocations: 362.1 kB / 495.1 MB, free: 13.63 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.003217/0.09548, allocations: 3.409 MB / 498.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.09601, allocations: 283.3 kB / 498.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.09617, allocations: 88.84 kB / 498.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.0962, allocations: 4 kB / 498.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.09623, allocations: 38.56 kB / 498.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.09623, allocations: 3.938 kB / 498.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008698/0.09711, allocations: 475.6 kB / 499.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.09715, allocations: 59.39 kB / 499.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.0978, allocations: 0.6043 MB / 0.4883 GB, free: 8.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.09784, allocations: 33.7 kB / 0.4884 GB, free: 8.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.09805, allocations: 328.7 kB / 0.4887 GB, free: 8.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.09815, allocations: 127.1 kB / 0.4888 GB, free: 7.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.09843, allocations: 246.8 kB / 0.489 GB, free: 7.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.09857, allocations: 382.8 kB / 0.4894 GB, free: 7.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.09901, allocations: 306.4 kB / 0.4897 GB, free: 7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.09952, allocations: 410.5 kB / 0.4901 GB, free: 6.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.1002, allocations: 0.5649 MB / 0.4906 GB, free: 6.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1002, allocations: 0 / 0.4906 GB, free: 6.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001355/0.1016, allocations: 0.9894 MB / 0.4916 GB, free: 5.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1016, allocations: 4 kB / 0.4916 GB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.1016, allocations: 4 kB / 0.4916 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.1019, allocations: 44.95 kB / 0.4917 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.1028, allocations: 259.6 kB / 0.4919 GB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1028, allocations: 8 kB / 0.4919 GB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.1035, allocations: 79.5 kB / 0.492 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.1035, allocations: 36 kB / 0.492 GB, free: 4.582 MB / 366.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.0002079/0.1037, allocations: 205.5 kB / 0.4922 GB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.1038, allocations: 67.52 kB / 0.4923 GB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.1044, allocations: 333.2 kB / 0.4926 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1044, allocations: 4 kB / 0.4926 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1044, allocations: 0 / 0.4926 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1044, allocations: 0 / 0.4926 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.1054, allocations: 0.944 MB / 0.4935 GB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1054, allocations: 0 / 0.4935 GB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.1057, allocations: 51.92 kB / 0.4936 GB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/0.1058, allocations: 32.83 kB / 0.4936 GB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1059, allocations: 12.09 kB / 0.4936 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.1059, allocations: 3.938 kB / 0.4936 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1059, allocations: 7.938 kB / 0.4936 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.1064, allocations: 414.5 kB / 0.494 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.1066, allocations: 196.5 kB / 0.4942 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.1067, allocations: 11.98 kB / 0.4942 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.1071, allocations: 19.98 kB / 0.4942 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1072, allocations: 27.91 kB / 0.4943 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.1072, allocations: 8 kB / 0.4943 GB, free: 2.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004098/0.1076, allocations: 402.8 kB / 0.4947 GB, free: 1.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1076, allocations: 0 / 0.4947 GB, free: 1.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.1082, allocations: 235.9 kB / 0.4949 GB, free: 1.5 MB / 366.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.0001913/0.1084, allocations: 159 kB / 0.495 GB, free: 1.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008673/0.1092, allocations: 0.7044 MB / 0.4957 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1093, allocations: 256 / 0.4957 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1095, allocations: 197.8 kB / 0.4959 GB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.11, allocations: 65.53 kB / 0.496 GB, free: 344 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.111, allocations: 0.8133 MB / 0.4968 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1114, allocations: 0.844 MB / 0.4976 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002763/0.1116, allocations: 93.17 kB / 0.4977 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1118, allocations: 55.38 kB / 0.4977 GB, free: 14.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1118, allocations: 0 / 0.4977 GB, free: 14.46 MB / 382.1 MB Notification: Performance of Templates: time 0.0105/0.1223, allocations: 6.946 MB / 0.5045 GB, free: 7.531 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)