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.004784/0.004784, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001209/0.001209, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.212/1.212, 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.07364/0.07364, allocations: 16.78 MB / 307.3 MB, free: 14.37 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 67.91 kB / 426.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08221/0.08325, allocations: 53.55 MB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.008822/0.09211, allocations: 10.39 MB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004521/0.09665, allocations: 3.507 MB / 494 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.0973, allocations: 15.94 kB / 494 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009484/0.09828, allocations: 421.4 kB / 494.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.1016, allocations: 1.635 MB / 496.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1028, allocations: 0.6554 MB / 496.7 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.1049, allocations: 2.035 MB / 498.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.1051, allocations: 141.5 kB / 498.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.106, allocations: 0.6769 MB / 499.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009741/0.107, allocations: 0.7469 MB / 0.4886 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.1071, allocations: 80 kB / 0.4887 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007993/0.1079, allocations: 403.7 kB / 0.4891 GB, free: 184 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1081, allocations: 211 kB / 0.4893 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000617/0.1088, allocations: 0.6528 MB / 0.4899 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.1104, allocations: 1.619 MB / 0.4915 GB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1104, allocations: 0 / 0.4915 GB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1104, allocations: 0 / 0.4915 GB, free: 13.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.266e-05/0.1105, allocations: 0 / 0.4915 GB, free: 13.69 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.006031/0.1165, allocations: 2.165 MB / 0.4936 GB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1165, allocations: 11.97 kB / 0.4936 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/0.1172, allocations: 184.1 kB / 0.4938 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.1184, allocations: 0.8142 MB / 0.4946 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.1185, allocations: 62.38 kB / 0.4946 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.1186, allocations: 88.38 kB / 0.4947 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.1199, allocations: 1.026 MB / 0.4957 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1199, allocations: 11.92 kB / 0.4957 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.12, allocations: 40 kB / 0.4958 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.12, allocations: 20 kB / 0.4958 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.1211, allocations: 0.7921 MB / 0.4966 GB, free: 8.258 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.006302/0.1274, allocations: 6.588 MB / 0.503 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.1288, allocations: 0.728 MB / 0.5037 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.1292, allocations: 281.8 kB / 0.504 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/0.1292, allocations: 16.62 kB / 0.504 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1293, allocations: 47.22 kB / 0.504 GB, free: 256 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 1.983e-06/0.1293, allocations: 0 / 0.504 GB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.1757/0.3049, allocations: 1.239 MB / 0.5053 GB, free: 34.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.305, allocations: 60.62 kB / 0.5053 GB, free: 34.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3061, allocations: 0.9997 MB / 0.5063 GB, free: 33.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.3062, allocations: 44.8 kB / 0.5063 GB, free: 33.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.3065, allocations: 0.5157 MB / 0.5068 GB, free: 33.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.3067, allocations: 324.5 kB / 0.5071 GB, free: 33.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/0.3072, allocations: 486.8 kB / 0.5076 GB, free: 33.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.3073, allocations: 339 kB / 0.5079 GB, free: 33.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008684/0.3081, allocations: 0.6481 MB / 0.5086 GB, free: 33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3092, allocations: 0.8484 MB / 0.5094 GB, free: 32.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3106, allocations: 1.229 MB / 0.5106 GB, free: 31.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3106, allocations: 1.875 kB / 0.5106 GB, free: 31.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.002845/0.3134, allocations: 2.139 MB / 0.5127 GB, free: 31.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3135, allocations: 9.594 kB / 0.5127 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3135, allocations: 4.562 kB / 0.5127 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.3141, allocations: 175.6 kB / 0.5129 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.3159, allocations: 0.5214 MB / 0.5134 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.3185, allocations: 2.618 MB / 0.5159 GB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.3199, allocations: 174 kB / 0.5161 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.32, allocations: 81.06 kB / 0.5162 GB, free: 28.75 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.0003121/0.3203, allocations: 290.5 kB / 0.5165 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3204, allocations: 114.8 kB / 0.5166 GB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.3218, allocations: 0.7779 MB / 0.5173 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.3218, allocations: 7.547 kB / 0.5173 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3218, allocations: 2.938 kB / 0.5173 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3218, allocations: 7.641 kB / 0.5173 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.3239, allocations: 1.812 MB / 0.5191 GB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3239, allocations: 0.5156 kB / 0.5191 GB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.3244, allocations: 122.3 kB / 0.5192 GB, free: 27.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/0.3249, allocations: 154.9 kB / 0.5194 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3249, allocations: 11.84 kB / 0.5194 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.3272, allocations: 2.579 MB / 0.5219 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3272, allocations: 3.938 kB / 0.5219 GB, free: 24.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.3284, allocations: 0.8685 MB / 0.5228 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.3287, allocations: 283.8 kB / 0.523 GB, free: 24.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.3288, allocations: 11.81 kB / 0.523 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.3295, allocations: 32.86 kB / 0.5231 GB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3296, allocations: 42.39 kB / 0.5231 GB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.3297, allocations: 29.2 kB / 0.5231 GB, free: 24.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.3304, allocations: 0.6303 MB / 0.5238 GB, free: 24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3304, allocations: 0 / 0.5238 GB, free: 24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3315, allocations: 0.4997 MB / 0.5242 GB, free: 23.93 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.0002035/0.3317, allocations: 172.8 kB / 0.5244 GB, free: 23.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3337, allocations: 1.565 MB / 0.5259 GB, free: 23.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3338, allocations: 0 / 0.5259 GB, free: 23.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005715/0.3343, allocations: 484.9 kB / 0.5264 GB, free: 22.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.335, allocations: 87.27 kB / 0.5265 GB, free: 22.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3367, allocations: 1.524 MB / 0.528 GB, free: 22.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3371, allocations: 1.003 MB / 0.5289 GB, free: 21.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.3376, allocations: 178.4 kB / 0.5291 GB, free: 21.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.3378, allocations: 83.02 kB / 0.5292 GB, free: 21.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3378, allocations: 0 / 0.5292 GB, free: 21.25 MB / 382.1 MB Notification: Performance of Templates: time 0.0173/0.3551, allocations: 14.81 MB / 0.5437 GB, free: 9.785 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)