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.005164/0.005164, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001068/0.001068, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.186/1.186, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07213/0.07213, allocations: 16.78 MB / 307.3 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 426.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.0968, allocations: 53.56 MB / 480.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.009668/0.1065, allocations: 10.39 MB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.1119, allocations: 3.507 MB / 494 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008543/0.1127, allocations: 23.88 kB / 494.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1139, allocations: 413.5 kB / 494.5 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.1176, allocations: 1.702 MB / 496.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.119, allocations: 0.6743 MB / 496.8 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1212, allocations: 2.031 MB / 498.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1215, allocations: 138.8 kB / 499 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008745/0.1224, allocations: 0.6847 MB / 499.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009453/0.1233, allocations: 0.7469 MB / 0.4887 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.1235, allocations: 76 kB / 0.4888 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007592/0.1242, allocations: 407.7 kB / 0.4892 GB, free: 132 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.1244, allocations: 207.1 kB / 0.4894 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.125, allocations: 0.6606 MB / 0.49 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.1266, allocations: 1.615 MB / 0.4916 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1266, allocations: 4 kB / 0.4916 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1266, allocations: 0 / 0.4916 GB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1267, allocations: 0 / 0.4916 GB, free: 13.64 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.006199/0.1329, allocations: 2.157 MB / 0.4937 GB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1329, allocations: 16.03 kB / 0.4937 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006305/0.1336, allocations: 180 kB / 0.4939 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.1348, allocations: 0.8142 MB / 0.4947 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.1349, allocations: 66.38 kB / 0.4948 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-05/0.135, allocations: 84.38 kB / 0.4948 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.1363, allocations: 1.022 MB / 0.4958 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1363, allocations: 3.938 kB / 0.4958 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.1364, allocations: 40 kB / 0.4959 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1364, allocations: 24 kB / 0.4959 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1376, allocations: 0.7959 MB / 0.4967 GB, free: 8.215 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.006986/0.1446, allocations: 6.614 MB / 0.5031 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.146, allocations: 0.722 MB / 0.5038 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.1465, allocations: 286.8 kB / 0.5041 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.004e-05/0.1466, allocations: 8.734 kB / 0.5041 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1466, allocations: 43.2 kB / 0.5042 GB, free: 184 kB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.056e-06/0.1466, allocations: 3.938 kB / 0.5042 GB, free: 180 kB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.1789/0.3255, allocations: 1.298 MB / 0.5054 GB, free: 34.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.3256, allocations: 59.52 kB / 0.5055 GB, free: 34.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.3268, allocations: 0.9938 MB / 0.5065 GB, free: 34.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.3268, allocations: 47.98 kB / 0.5065 GB, free: 33.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.3271, allocations: 0.5215 MB / 0.507 GB, free: 33.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.3274, allocations: 321.7 kB / 0.5073 GB, free: 33.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005683/0.3279, allocations: 488.2 kB / 0.5078 GB, free: 33.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.328, allocations: 337 kB / 0.5081 GB, free: 33.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008913/0.3289, allocations: 0.6478 MB / 0.5087 GB, free: 33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.33, allocations: 0.8581 MB / 0.5096 GB, free: 32.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.3314, allocations: 1.228 MB / 0.5108 GB, free: 31.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3315, allocations: 0 / 0.5108 GB, free: 31.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003084/0.3345, allocations: 2.157 MB / 0.5129 GB, free: 31.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3346, allocations: 5.562 kB / 0.5129 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3346, allocations: 1.531 kB / 0.5129 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.3352, allocations: 186.4 kB / 0.5131 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.3371, allocations: 0.5104 MB / 0.5136 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.34, allocations: 2.705 MB / 0.5162 GB, free: 28.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.3416, allocations: 172.4 kB / 0.5164 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.3417, allocations: 80.14 kB / 0.5165 GB, free: 28.71 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.0004003/0.3421, allocations: 294 kB / 0.5167 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.3423, allocations: 112.8 kB / 0.5168 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.3437, allocations: 0.7903 MB / 0.5176 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.3437, allocations: 11.12 kB / 0.5176 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3438, allocations: 0 / 0.5176 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3438, allocations: 5.312 kB / 0.5176 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.3461, allocations: 1.801 MB / 0.5194 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.3461, allocations: 4.578 kB / 0.5194 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.3466, allocations: 110.5 kB / 0.5195 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.3471, allocations: 166.8 kB / 0.5197 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.3472, allocations: 15 kB / 0.5197 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.3496, allocations: 2.66 MB / 0.5223 GB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3496, allocations: 0 / 0.5223 GB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.351, allocations: 0.8774 MB / 0.5231 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.3514, allocations: 279.7 kB / 0.5234 GB, free: 24.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.3516, allocations: 15.09 kB / 0.5234 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.3523, allocations: 33.86 kB / 0.5234 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.3524, allocations: 43.38 kB / 0.5235 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.3525, allocations: 24.98 kB / 0.5235 GB, free: 24.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007618/0.3532, allocations: 0.6198 MB / 0.5241 GB, free: 23.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3532, allocations: 0 / 0.5241 GB, free: 23.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001276/0.3545, allocations: 0.5042 MB / 0.5246 GB, free: 23.86 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.0002469/0.3548, allocations: 176.5 kB / 0.5248 GB, free: 23.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.3569, allocations: 1.568 MB / 0.5263 GB, free: 23.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.357, allocations: 0 / 0.5263 GB, free: 23.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.3576, allocations: 492.7 kB / 0.5268 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.3582, allocations: 93.81 kB / 0.5269 GB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3601, allocations: 1.51 MB / 0.5283 GB, free: 21.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3605, allocations: 0.9979 MB / 0.5293 GB, free: 21.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005435/0.361, allocations: 181.6 kB / 0.5295 GB, free: 21.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.3613, allocations: 80.42 kB / 0.5296 GB, free: 21.18 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3613, allocations: 0 / 0.5296 GB, free: 21.18 MB / 382.1 MB Notification: Performance of Templates: time 0.0188/0.3801, allocations: 15.03 MB / 0.5442 GB, free: 9.281 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)