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.001242/0.001242, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001232/0.001232, allocations: 187 kB / 17.34 MB, free: 5.762 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.262/1.262, allocations: 222.9 MB / 241 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.07319/0.07319, allocations: 16.77 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 427.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1002, allocations: 53.57 MB / 480.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005085/0.1053, allocations: 4.554 MB / 485.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.1088, allocations: 2.349 MB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.1093, allocations: 11.94 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000718/0.11, allocations: 234.6 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.1126, allocations: 1.15 MB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.1133, allocations: 352.7 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.1144, allocations: 1.043 MB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1146, allocations: 65.75 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.1149, allocations: 370.4 kB / 490.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.1153, allocations: 378.2 kB / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.1154, allocations: 48 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.1158, allocations: 247.8 kB / 491.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.1159, allocations: 111.4 kB / 491.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.1162, allocations: 354.1 kB / 492 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.1171, allocations: 0.8604 MB / 492.9 MB, free: 8.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1171, allocations: 0 / 492.9 MB, free: 8.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1171, allocations: 4 kB / 492.9 MB, free: 8.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1171, allocations: 0 / 492.9 MB, free: 8.848 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.00298/0.1201, allocations: 1.216 MB / 494.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1202, allocations: 8.031 kB / 494.1 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.1205, allocations: 88.17 kB / 494.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.1213, allocations: 0.5141 MB / 494.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.1214, allocations: 29.38 kB / 494.7 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.1214, allocations: 44.38 kB / 494.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.1221, allocations: 0.513 MB / 495.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1221, allocations: 11.88 kB / 495.3 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.1222, allocations: 16 kB / 495.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1222, allocations: 12 kB / 495.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.1227, allocations: 354.1 kB / 495.7 MB, free: 5.883 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.003525/0.1262, allocations: 3.4 MB / 499.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.1268, allocations: 287.3 kB / 499.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1269, allocations: 96.83 kB / 499.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.127, allocations: 4 kB / 499.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.127, allocations: 42.5 kB / 499.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.127, allocations: 0 / 499.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009263/0.128, allocations: 471.2 kB / 500 MB, free: 1.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.128, allocations: 55.41 kB / 0.4883 GB, free: 1.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.1286, allocations: 0.6081 MB / 0.4889 GB, free: 0.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1287, allocations: 33.7 kB / 0.4889 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1289, allocations: 312 kB / 0.4892 GB, free: 328 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.129, allocations: 134.4 kB / 0.4894 GB, free: 192 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.1292, allocations: 238.7 kB / 0.4896 GB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1294, allocations: 386.8 kB / 0.49 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.1298, allocations: 298.5 kB / 0.4902 GB, free: 15.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.1303, allocations: 410.5 kB / 0.4906 GB, free: 14.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.131, allocations: 0.5649 MB / 0.4912 GB, free: 14.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.131, allocations: 4 kB / 0.4912 GB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001324/0.1323, allocations: 0.9812 MB / 0.4921 GB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1323, allocations: 8 kB / 0.4921 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1324, allocations: 7.922 kB / 0.4922 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.1326, allocations: 44.91 kB / 0.4922 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008789/0.1335, allocations: 259.6 kB / 0.4924 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.1335, allocations: 8 kB / 0.4925 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.1342, allocations: 79.28 kB / 0.4925 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.1342, allocations: 43.98 kB / 0.4926 GB, free: 12.83 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.0002113/0.1344, allocations: 197.6 kB / 0.4928 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.1345, allocations: 67.19 kB / 0.4928 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.1351, allocations: 329.2 kB / 0.4931 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1351, allocations: 4 kB / 0.4931 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1351, allocations: 0 / 0.4931 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1351, allocations: 0 / 0.4931 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1361, allocations: 0.95 MB / 0.4941 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1362, allocations: 4 kB / 0.4941 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1364, allocations: 47.97 kB / 0.4941 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.1365, allocations: 36.83 kB / 0.4942 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1365, allocations: 4 kB / 0.4942 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1366, allocations: 11.88 kB / 0.4942 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1366, allocations: 4.094 kB / 0.4942 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.1371, allocations: 410.2 kB / 0.4946 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.1373, allocations: 188.2 kB / 0.4947 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.1374, allocations: 12 kB / 0.4948 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.1378, allocations: 27.88 kB / 0.4948 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1379, allocations: 11.98 kB / 0.4948 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.1379, allocations: 15.98 kB / 0.4948 GB, free: 10.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.1383, allocations: 406.8 kB / 0.4952 GB, free: 10 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1383, allocations: 0 / 0.4952 GB, free: 10 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000564/0.1389, allocations: 227.9 kB / 0.4954 GB, free: 9.777 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.000205/0.1391, allocations: 151.2 kB / 0.4956 GB, free: 9.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000871/0.14, allocations: 0.7044 MB / 0.4962 GB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.14, allocations: 3.938 kB / 0.4963 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.1402, allocations: 198.2 kB / 0.4964 GB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.1407, allocations: 71.5 kB / 0.4965 GB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1418, allocations: 0.8249 MB / 0.4973 GB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1421, allocations: 0.8439 MB / 0.4981 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1423, allocations: 59.38 kB / 0.4982 GB, free: 6.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1423, allocations: 0 / 0.4982 GB, free: 6.805 MB / 382.1 MB Notification: Performance of Templates: time 0.2051/0.3474, allocations: 10.13 MB / 0.5081 GB, free: 33.34 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)