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.004154/0.004154, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001083/0.001084, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.213/1.213, allocations: 222.9 MB / 240.4 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.07291/0.07291, allocations: 16.77 MB / 307.3 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.91 kB / 426.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08578, allocations: 53.55 MB / 480.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.01191/0.09774, allocations: 10.4 MB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.1049, allocations: 3.503 MB / 494 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.106, allocations: 15.94 kB / 494.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.1077, allocations: 417.4 kB / 494.5 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004857/0.1126, allocations: 1.696 MB / 496.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1139, allocations: 0.6559 MB / 496.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.117, allocations: 2.046 MB / 498.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.1174, allocations: 134.8 kB / 499 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.1186, allocations: 0.6886 MB / 499.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.1201, allocations: 0.743 MB / 0.4887 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.1204, allocations: 83.94 kB / 0.4888 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.1216, allocations: 407.7 kB / 0.4892 GB, free: 112 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.1219, allocations: 211 kB / 0.4894 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.1231, allocations: 0.6568 MB / 0.49 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.1259, allocations: 1.615 MB / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1259, allocations: 0 / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1259, allocations: 0 / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.292e-05/0.1259, allocations: 4 kB / 0.4916 GB, free: 13.62 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.009692/0.1356, allocations: 2.161 MB / 0.4937 GB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1357, allocations: 8.031 kB / 0.4937 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.1367, allocations: 176.1 kB / 0.4939 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.1382, allocations: 0.822 MB / 0.4947 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.1383, allocations: 62.38 kB / 0.4947 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.1384, allocations: 88.38 kB / 0.4948 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1398, allocations: 1.029 MB / 0.4958 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1398, allocations: 7.938 kB / 0.4958 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.1399, allocations: 32 kB / 0.4959 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.1399, allocations: 24 kB / 0.4959 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.1411, allocations: 0.796 MB / 0.4967 GB, free: 8.191 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.006935/0.148, allocations: 6.58 MB / 0.5031 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.1495, allocations: 0.7319 MB / 0.5038 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.1499, allocations: 281.4 kB / 0.5041 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.15, allocations: 12.72 kB / 0.5041 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.15, allocations: 43.22 kB / 0.5041 GB, free: 200 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.345e-06/0.15, allocations: 0 / 0.5041 GB, free: 200 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.1873/0.3373, allocations: 1.24 MB / 0.5053 GB, free: 34.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3373, allocations: 62.5 kB / 0.5054 GB, free: 34.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.3386, allocations: 1 MB / 0.5064 GB, free: 34.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.3387, allocations: 41.02 kB / 0.5064 GB, free: 34.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.339, allocations: 0.5205 MB / 0.5069 GB, free: 34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.3392, allocations: 322.7 kB / 0.5072 GB, free: 33.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005725/0.3398, allocations: 484 kB / 0.5077 GB, free: 33.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.3399, allocations: 344.8 kB / 0.508 GB, free: 33.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/0.3408, allocations: 0.6441 MB / 0.5087 GB, free: 33.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3418, allocations: 0.853 MB / 0.5095 GB, free: 32.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.3433, allocations: 1.226 MB / 0.5107 GB, free: 32.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3433, allocations: 1.688 kB / 0.5107 GB, free: 32.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003042/0.3464, allocations: 2.149 MB / 0.5128 GB, free: 31.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3464, allocations: 5.5 kB / 0.5128 GB, free: 31.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3464, allocations: 5.688 kB / 0.5128 GB, free: 31.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.347, allocations: 167.5 kB / 0.513 GB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.3488, allocations: 0.5204 MB / 0.5135 GB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.3516, allocations: 2.62 MB / 0.516 GB, free: 29.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.3531, allocations: 171.6 kB / 0.5162 GB, free: 28.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.3533, allocations: 83.31 kB / 0.5163 GB, free: 28.94 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.0003547/0.3536, allocations: 291.8 kB / 0.5165 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3538, allocations: 117.8 kB / 0.5167 GB, free: 28.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.3551, allocations: 0.7811 MB / 0.5174 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3551, allocations: 7.75 kB / 0.5174 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3551, allocations: 3.938 kB / 0.5174 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3551, allocations: 5.109 kB / 0.5174 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.3573, allocations: 1.806 MB / 0.5192 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3573, allocations: 1.094 kB / 0.5192 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.3578, allocations: 121.1 kB / 0.5193 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004979/0.3583, allocations: 159.1 kB / 0.5195 GB, free: 27.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.3584, allocations: 11.69 kB / 0.5195 GB, free: 27.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.3606, allocations: 2.578 MB / 0.522 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3606, allocations: 8.938 kB / 0.522 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3619, allocations: 0.8681 MB / 0.5228 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.3622, allocations: 281.1 kB / 0.5231 GB, free: 24.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.3624, allocations: 11.97 kB / 0.5231 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.3631, allocations: 36.08 kB / 0.5232 GB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.3632, allocations: 47.19 kB / 0.5232 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.3633, allocations: 21.42 kB / 0.5232 GB, free: 24.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00073/0.364, allocations: 0.627 MB / 0.5238 GB, free: 24.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.364, allocations: 3.719 kB / 0.5238 GB, free: 24.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00119/0.3652, allocations: 0.4971 MB / 0.5243 GB, free: 24.11 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.0002232/0.3654, allocations: 177.2 kB / 0.5245 GB, free: 24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.3676, allocations: 1.568 MB / 0.526 GB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3676, allocations: 0 / 0.526 GB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.3682, allocations: 478.5 kB / 0.5265 GB, free: 23.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.3688, allocations: 88.88 kB / 0.5266 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3707, allocations: 1.522 MB / 0.5281 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.3711, allocations: 0.9969 MB / 0.529 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005479/0.3717, allocations: 185.3 kB / 0.5292 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3719, allocations: 85.84 kB / 0.5293 GB, free: 21.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3719, allocations: 0 / 0.5293 GB, free: 21.41 MB / 382.1 MB Notification: Performance of Templates: time 0.0178/0.3897, allocations: 14.8 MB / 0.5437 GB, free: 10.04 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)