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.004298/0.004299, allocations: 98.34 kB / 15.73 MB, free: 6.008 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.0009936/0.0009936, allocations: 193.2 kB / 16.67 MB, free: 5.926 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07049/0.07049, allocations: 16.77 MB / 307.3 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 67.89 kB / 426.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08467, allocations: 53.55 MB / 480.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.009422/0.09413, allocations: 10.41 MB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004943/0.09909, allocations: 3.507 MB / 494 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008429/0.09996, allocations: 19.88 kB / 494.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.101, allocations: 425.4 kB / 494.5 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.1045, allocations: 1.624 MB / 496.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1057, allocations: 0.6638 MB / 496.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.1079, allocations: 2.035 MB / 498.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.1082, allocations: 142.8 kB / 498.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008218/0.109, allocations: 0.6691 MB / 499.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009061/0.1099, allocations: 0.7508 MB / 0.4886 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1101, allocations: 76 kB / 0.4887 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007878/0.1109, allocations: 403.7 kB / 0.4891 GB, free: 220 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1111, allocations: 211 kB / 0.4893 GB, free: 8 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006831/0.1118, allocations: 0.6567 MB / 0.4899 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.1134, allocations: 1.611 MB / 0.4915 GB, free: 13.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1134, allocations: 3.938 kB / 0.4915 GB, free: 13.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1134, allocations: 4 kB / 0.4915 GB, free: 13.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1134, allocations: 0 / 0.4915 GB, free: 13.72 MB / 382.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.00577/0.1192, allocations: 2.161 MB / 0.4936 GB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1192, allocations: 8.031 kB / 0.4936 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.1198, allocations: 192 kB / 0.4938 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.121, allocations: 0.8142 MB / 0.4946 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.1211, allocations: 66.38 kB / 0.4947 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.726e-05/0.1212, allocations: 84.38 kB / 0.4947 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1224, allocations: 1.018 MB / 0.4957 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1224, allocations: 7.938 kB / 0.4957 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.1225, allocations: 36 kB / 0.4958 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1225, allocations: 20 kB / 0.4958 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1236, allocations: 0.8037 MB / 0.4966 GB, free: 8.293 MB / 382.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.006192/0.1298, allocations: 6.622 MB / 0.5031 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.1311, allocations: 0.7143 MB / 0.5038 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.1315, allocations: 278.8 kB / 0.504 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.1316, allocations: 16.64 kB / 0.504 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1316, allocations: 47.16 kB / 0.5041 GB, free: 260 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 1.803e-06/0.1316, allocations: 0 / 0.5041 GB, free: 260 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.1772/0.3089, allocations: 1.293 MB / 0.5053 GB, free: 34.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.3089, allocations: 60.73 kB / 0.5054 GB, free: 34.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.3101, allocations: 0.9921 MB / 0.5064 GB, free: 33.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.3102, allocations: 44.08 kB / 0.5064 GB, free: 33.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.3104, allocations: 0.5257 MB / 0.5069 GB, free: 33.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.3106, allocations: 323.6 kB / 0.5072 GB, free: 33.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005393/0.3112, allocations: 487.5 kB / 0.5077 GB, free: 33.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.3112, allocations: 339.3 kB / 0.508 GB, free: 33.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/0.3121, allocations: 0.6443 MB / 0.5086 GB, free: 32.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.3132, allocations: 0.8579 MB / 0.5095 GB, free: 32.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3146, allocations: 1.233 MB / 0.5107 GB, free: 31.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3146, allocations: 1.875 kB / 0.5107 GB, free: 31.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.002899/0.3175, allocations: 2.149 MB / 0.5128 GB, free: 31.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3176, allocations: 5.5 kB / 0.5128 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3176, allocations: 4.938 kB / 0.5128 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.3182, allocations: 186 kB / 0.513 GB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.3199, allocations: 0.5124 MB / 0.5135 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.3227, allocations: 2.709 MB / 0.5161 GB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3241, allocations: 171.5 kB / 0.5163 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3242, allocations: 79.12 kB / 0.5164 GB, free: 28.69 MB / 382.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.0003203/0.3245, allocations: 291.8 kB / 0.5166 GB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.3247, allocations: 113.8 kB / 0.5167 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.3261, allocations: 0.7897 MB / 0.5175 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.3261, allocations: 11.92 kB / 0.5175 GB, free: 28.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3261, allocations: 0 / 0.5175 GB, free: 28.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3261, allocations: 3.281 kB / 0.5175 GB, free: 28.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.3282, allocations: 1.804 MB / 0.5193 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3283, allocations: 1.469 kB / 0.5193 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.3287, allocations: 109.8 kB / 0.5194 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005012/0.3292, allocations: 169.8 kB / 0.5196 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.3292, allocations: 16.61 kB / 0.5196 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.3316, allocations: 2.652 MB / 0.5222 GB, free: 24.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3316, allocations: 4.156 kB / 0.5222 GB, free: 24.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3328, allocations: 0.873 MB / 0.523 GB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.3331, allocations: 280.3 kB / 0.5233 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3333, allocations: 19.84 kB / 0.5233 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/0.3339, allocations: 27.22 kB / 0.5233 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.334, allocations: 42.03 kB / 0.5234 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.3341, allocations: 30.69 kB / 0.5234 GB, free: 24.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007028/0.3348, allocations: 0.6187 MB / 0.524 GB, free: 23.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3348, allocations: 0 / 0.524 GB, free: 23.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001085/0.3359, allocations: 0.5068 MB / 0.5245 GB, free: 23.84 MB / 382.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.0002179/0.3361, allocations: 174.9 kB / 0.5247 GB, free: 23.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.3381, allocations: 1.574 MB / 0.5262 GB, free: 23.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3381, allocations: 0 / 0.5262 GB, free: 23.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.3386, allocations: 493.4 kB / 0.5267 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.3392, allocations: 85.52 kB / 0.5268 GB, free: 22.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.341, allocations: 1.515 MB / 0.5282 GB, free: 21.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.3413, allocations: 1 MB / 0.5292 GB, free: 21.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005199/0.3419, allocations: 179.9 kB / 0.5294 GB, free: 21.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.3421, allocations: 84.66 kB / 0.5295 GB, free: 21.16 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3421, allocations: 3.938 kB / 0.5295 GB, free: 21.15 MB / 382.1 MB Notification: Performance of Templates: time 0.01702/0.3591, allocations: 15.02 MB / 0.5441 GB, free: 9.344 MB / 382.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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)