Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.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.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.001028/0.001028, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.336/1.336, allocations: 222.9 MB / 241 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.0733/0.0733, allocations: 16.78 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 64.09 kB / 427.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.114, allocations: 53.56 MB / 480.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.009859/0.1239, allocations: 10.39 MB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005981/0.1299, allocations: 3.5 MB / 494.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.1308, allocations: 19.94 kB / 494.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.1321, allocations: 417.4 kB / 495.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.136, allocations: 1.64 MB / 496.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1374, allocations: 0.6545 MB / 497.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.14, allocations: 2.035 MB / 499.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.1403, allocations: 138.8 kB / 499.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.1411, allocations: 0.6964 MB / 0.4886 GB, free: 1.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.142, allocations: 0.743 MB / 0.4893 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1421, allocations: 80 kB / 0.4894 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.1431, allocations: 399.7 kB / 0.4897 GB, free: 196 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1433, allocations: 222.8 kB / 0.49 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005502/0.1439, allocations: 0.649 MB / 0.4906 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.1457, allocations: 1.608 MB / 0.4922 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1457, allocations: 0 / 0.4922 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1457, allocations: 4 kB / 0.4922 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1458, allocations: 0 / 0.4922 GB, free: 13.7 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.006521/0.1523, allocations: 2.124 MB / 0.4942 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1524, allocations: 8.031 kB / 0.4942 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.153, allocations: 171.4 kB / 0.4944 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.1544, allocations: 0.8096 MB / 0.4952 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.1545, allocations: 74.25 kB / 0.4953 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1546, allocations: 88.38 kB / 0.4954 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.156, allocations: 1.022 MB / 0.4964 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.156, allocations: 7.938 kB / 0.4964 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.1561, allocations: 32 kB / 0.4964 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.1562, allocations: 24 kB / 0.4964 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1573, allocations: 0.7959 MB / 0.4972 GB, free: 8.328 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.007086/0.1644, allocations: 6.579 MB / 0.5036 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.1659, allocations: 0.7367 MB / 0.5043 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.1663, allocations: 278.8 kB / 0.5046 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.323e-05/0.1664, allocations: 8.656 kB / 0.5046 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1664, allocations: 43.22 kB / 0.5047 GB, free: 340 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.795e-06/0.1664, allocations: 4 kB / 0.5047 GB, free: 336 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.2804/0.4468, allocations: 1.236 MB / 0.5059 GB, free: 34.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.4468, allocations: 59.5 kB / 0.5059 GB, free: 34.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.4484, allocations: 1 MB / 0.5069 GB, free: 34.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.4485, allocations: 40.83 kB / 0.5069 GB, free: 34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.4489, allocations: 0.5033 MB / 0.5074 GB, free: 33.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.4492, allocations: 307 kB / 0.5077 GB, free: 33.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006518/0.4499, allocations: 482.5 kB / 0.5082 GB, free: 33.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.45, allocations: 344.1 kB / 0.5085 GB, free: 33.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.451, allocations: 0.646 MB / 0.5091 GB, free: 33.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.4522, allocations: 0.8526 MB / 0.51 GB, free: 32.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.4539, allocations: 1.229 MB / 0.5112 GB, free: 32.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4539, allocations: 0 / 0.5112 GB, free: 32.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003557/0.4575, allocations: 2.139 MB / 0.5133 GB, free: 31.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4575, allocations: 5.5 kB / 0.5133 GB, free: 31.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4575, allocations: 5.094 kB / 0.5133 GB, free: 31.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006791/0.4582, allocations: 169.6 kB / 0.5134 GB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.4603, allocations: 0.5176 MB / 0.5139 GB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.4637, allocations: 2.625 MB / 0.5165 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4656, allocations: 164 kB / 0.5167 GB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.4657, allocations: 85.69 kB / 0.5167 GB, free: 28.81 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 (load.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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004798/0.4662, allocations: 287.5 kB / 0.517 GB, free: 28.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.4664, allocations: 108.7 kB / 0.5171 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.468, allocations: 0.7843 MB / 0.5179 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.468, allocations: 8.484 kB / 0.5179 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.468, allocations: 1.188 kB / 0.5179 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4681, allocations: 3.469 kB / 0.5179 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.4709, allocations: 1.809 MB / 0.5197 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4709, allocations: 0.875 kB / 0.5197 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.4714, allocations: 122.4 kB / 0.5198 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005474/0.472, allocations: 162.2 kB / 0.5199 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.472, allocations: 11.28 kB / 0.5199 GB, free: 27.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.4748, allocations: 2.574 MB / 0.5225 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4748, allocations: 8.609 kB / 0.5225 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.4764, allocations: 0.8641 MB / 0.5233 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.4769, allocations: 273.3 kB / 0.5236 GB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.477, allocations: 15.88 kB / 0.5236 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.4778, allocations: 37.25 kB / 0.5236 GB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4779, allocations: 41.89 kB / 0.5237 GB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.478, allocations: 21.23 kB / 0.5237 GB, free: 24.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009177/0.4789, allocations: 0.6317 MB / 0.5243 GB, free: 24.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4789, allocations: 0 / 0.5243 GB, free: 24.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001551/0.4805, allocations: 0.4964 MB / 0.5248 GB, free: 24.01 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 (62): * Single equations (assignments): 61 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.4808, allocations: 176.8 kB / 0.525 GB, free: 23.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002795/0.4836, allocations: 1.564 MB / 0.5265 GB, free: 23.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4836, allocations: 1.188 kB / 0.5265 GB, free: 23.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007352/0.4844, allocations: 476 kB / 0.5269 GB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.4852, allocations: 88.47 kB / 0.527 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.4875, allocations: 1.531 MB / 0.5285 GB, free: 22.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.4881, allocations: 1.002 MB / 0.5295 GB, free: 21.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.4884, allocations: 93.56 kB / 0.5296 GB, free: 21.36 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4884, allocations: 5.312 kB / 0.5296 GB, free: 21.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02213/0.5106, allocations: 18.78 MB / 0.5479 GB, free: 5.996 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)