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.004487/0.004487, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001014/0.001014, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1648/0.1648, allocations: 16.78 MB / 307.3 MB, free: 14.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 69.02 kB / 426.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.08296, allocations: 53.57 MB / 480.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.007079/0.09008, allocations: 10.39 MB / 490.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.09452, allocations: 3.516 MB / 494.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004964/0.09503, allocations: 15.94 kB / 494.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008349/0.09591, allocations: 421.4 kB / 494.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.09898, allocations: 1.691 MB / 496.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1002, allocations: 0.6718 MB / 496.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1021, allocations: 2.031 MB / 498.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.1024, allocations: 146.7 kB / 499 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.1031, allocations: 0.6886 MB / 499.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007161/0.1038, allocations: 0.7469 MB / 0.4887 GB, free: 8.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1039, allocations: 80 kB / 0.4888 GB, free: 8.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000715/0.1046, allocations: 399.8 kB / 0.4892 GB, free: 7.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1048, allocations: 214.9 kB / 0.4894 GB, free: 7.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.1053, allocations: 0.649 MB / 0.49 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.1068, allocations: 1.616 MB / 0.4916 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1068, allocations: 0 / 0.4916 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1068, allocations: 0 / 0.4916 GB, free: 5.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1068, allocations: 0 / 0.4916 GB, free: 5.477 MB / 366.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.005844/0.1127, allocations: 2.12 MB / 0.4937 GB, free: 3.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1127, allocations: 8.031 kB / 0.4937 GB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.1133, allocations: 179.4 kB / 0.4939 GB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.1146, allocations: 0.8134 MB / 0.4946 GB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.1147, allocations: 66.38 kB / 0.4947 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1148, allocations: 84.38 kB / 0.4948 GB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1161, allocations: 1.018 MB / 0.4958 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1161, allocations: 7.938 kB / 0.4958 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/0.1162, allocations: 40 kB / 0.4958 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.1162, allocations: 27.92 kB / 0.4959 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1174, allocations: 0.7999 MB / 0.4966 GB, free: 92 kB / 366.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.006867/0.1242, allocations: 6.605 MB / 0.5031 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.1256, allocations: 0.7239 MB / 0.5038 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.126, allocations: 282.8 kB / 0.5041 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.1261, allocations: 8.656 kB / 0.5041 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1261, allocations: 43.22 kB / 0.5041 GB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.725e-06/0.1261, allocations: 0 / 0.5041 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003162/0.1293, allocations: 1.291 MB / 0.5054 GB, free: 6.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1293, allocations: 68 kB / 0.5054 GB, free: 6.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1305, allocations: 0.9952 MB / 0.5064 GB, free: 5.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.1305, allocations: 41.7 kB / 0.5065 GB, free: 5.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.1309, allocations: 0.5144 MB / 0.507 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.1312, allocations: 304.1 kB / 0.5072 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/0.1318, allocations: 489.3 kB / 0.5077 GB, free: 4.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1319, allocations: 334 kB / 0.508 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000953/0.1328, allocations: 0.6495 MB / 0.5087 GB, free: 3.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.1339, allocations: 0.8519 MB / 0.5095 GB, free: 2.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.1355, allocations: 1.232 MB / 0.5107 GB, free: 1.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1355, allocations: 0 / 0.5107 GB, free: 1.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003138/0.1387, allocations: 2.143 MB / 0.5128 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1387, allocations: 4 kB / 0.5128 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1387, allocations: 4 kB / 0.5128 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.1394, allocations: 184.8 kB / 0.513 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.1411, allocations: 0.515 MB / 0.5135 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.1442, allocations: 2.704 MB / 0.5161 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.1456, allocations: 178.6 kB / 0.5163 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.1457, allocations: 76 kB / 0.5164 GB, free: 11.17 MB / 398.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.0003795/0.1461, allocations: 293.3 kB / 0.5166 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.1463, allocations: 106.8 kB / 0.5167 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.1477, allocations: 0.7859 MB / 0.5175 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1477, allocations: 8 kB / 0.5175 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1477, allocations: 3.984 kB / 0.5175 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1477, allocations: 3.984 kB / 0.5175 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.15, allocations: 1.809 MB / 0.5193 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1501, allocations: 0 / 0.5193 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.1505, allocations: 111.8 kB / 0.5194 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.151, allocations: 168.7 kB / 0.5196 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.1511, allocations: 12 kB / 0.5196 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.1539, allocations: 2.652 MB / 0.5222 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1539, allocations: 7.969 kB / 0.5222 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.1552, allocations: 0.8666 MB / 0.523 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.1556, allocations: 275.8 kB / 0.5233 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.1557, allocations: 12 kB / 0.5233 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.1564, allocations: 23.98 kB / 0.5233 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.1565, allocations: 56.52 kB / 0.5234 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.1565, allocations: 24 kB / 0.5234 GB, free: 3.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007235/0.1573, allocations: 0.6213 MB / 0.524 GB, free: 3.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1573, allocations: 0 / 0.524 GB, free: 3.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001077/0.1583, allocations: 0.4959 MB / 0.5245 GB, free: 2.559 MB / 398.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.00024/0.1586, allocations: 186.2 kB / 0.5247 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.1607, allocations: 1.57 MB / 0.5262 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1607, allocations: 7.938 kB / 0.5262 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.1613, allocations: 489.9 kB / 0.5267 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.162, allocations: 96.19 kB / 0.5268 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.164, allocations: 1.481 MB / 0.5282 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1644, allocations: 1.001 MB / 0.5292 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004986/0.165, allocations: 185.9 kB / 0.5294 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.1652, allocations: 83.44 kB / 0.5294 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1652, allocations: 0 / 0.5294 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Templates: time 0.02194/0.1871, allocations: 15 MB / 0.5441 GB, free: 14.4 MB / 430.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)