Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.00104/0.00104, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07446/0.07446, allocations: 16.74 MB / 307.9 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 61.17 kB / 373.1 MB, free: 48.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/0.09525, allocations: 53.57 MB / 426.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004906/0.1002, allocations: 4.543 MB / 431.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1036, allocations: 2.484 MB / 433.7 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006719/0.1043, allocations: 7.938 kB / 433.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008357/0.1051, allocations: 262.5 kB / 434 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.1075, allocations: 1.158 MB / 435.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.1081, allocations: 329.1 kB / 435.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.1089, allocations: 1.008 MB / 436.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.109, allocations: 69.73 kB / 436.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1093, allocations: 354.5 kB / 436.9 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.1096, allocations: 366.4 kB / 437.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.1097, allocations: 36 kB / 437.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.1101, allocations: 271.8 kB / 437.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.1102, allocations: 107.4 kB / 437.7 MB, free: 1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.1104, allocations: 330.2 kB / 438 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008288/0.1113, allocations: 0.8528 MB / 438.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1113, allocations: 0 / 438.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1113, allocations: 4 kB / 438.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.1113, allocations: 3.938 kB / 438.8 MB, free: 15.81 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002452/0.1138, allocations: 1.071 MB / 439.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1138, allocations: 8.031 kB / 439.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.1141, allocations: 96.09 kB / 440 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.115, allocations: 0.4986 MB / 440.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.115, allocations: 33.31 kB / 440.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.1151, allocations: 40.38 kB / 440.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.1157, allocations: 0.4917 MB / 441.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1157, allocations: 4 kB / 441.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.1157, allocations: 23.94 kB / 441.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1157, allocations: 12 kB / 441.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.1162, allocations: 329.8 kB / 441.4 MB, free: 13.04 MB / 318.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.003315/0.1195, allocations: 3.399 MB / 444.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.1201, allocations: 315.4 kB / 445.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1202, allocations: 92.83 kB / 445.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.1203, allocations: 7.984 kB / 445.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1203, allocations: 38.56 kB / 445.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.1203, allocations: 0 / 445.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008137/0.1212, allocations: 447.4 kB / 445.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1212, allocations: 59.34 kB / 445.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.1218, allocations: 0.5533 MB / 446.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.1219, allocations: 33.7 kB / 446.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1221, allocations: 307.9 kB / 446.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.1222, allocations: 130.5 kB / 446.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.1225, allocations: 222.7 kB / 447 MB, free: 7.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1226, allocations: 382.7 kB / 447.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.123, allocations: 278.5 kB / 447.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.1235, allocations: 386.6 kB / 448 MB, free: 6.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.1242, allocations: 0.5334 MB / 448.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1243, allocations: 0 / 448.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001314/0.1256, allocations: 0.9227 MB / 449.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1256, allocations: 6.344 kB / 449.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1256, allocations: 0 / 449.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.1258, allocations: 32.84 kB / 449.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.1267, allocations: 239.8 kB / 449.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1278, allocations: 1.437 MB / 451.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.1285, allocations: 75.36 kB / 451.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.1285, allocations: 35.98 kB / 451.3 MB, free: 2.664 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (149): * Single equations (assignments): 148 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.1288, allocations: 202.4 kB / 451.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.1289, allocations: 55.34 kB / 451.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.1294, allocations: 304.7 kB / 451.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1294, allocations: 4 kB / 451.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1294, allocations: 0 / 451.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1294, allocations: 3.984 kB / 451.9 MB, free: 2.082 MB / 318.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 postOpt removeSimpleEquations (simulation): time 0.001225/0.1306, allocations: 1.061 MB / 452.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.1306, allocations: 8 kB / 452.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.1308, allocations: 43.92 kB / 453 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.131, allocations: 28.84 kB / 453 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.131, allocations: 8.094 kB / 453 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009459/0.1319, allocations: 1.438 MB / 454.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.132, allocations: 4.062 kB / 454.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.1324, allocations: 438.5 kB / 454.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.1326, allocations: 172.3 kB / 455 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.1327, allocations: 15.98 kB / 455.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.1331, allocations: 19.98 kB / 455.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1332, allocations: 27.91 kB / 455.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.1332, allocations: 12 kB / 455.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003928/0.1336, allocations: 374.8 kB / 455.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1336, allocations: 0 / 455.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006279/0.1342, allocations: 227.8 kB / 455.7 MB, free: 13.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.1345, allocations: 159 kB / 455.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009956/0.1355, allocations: 0.7012 MB / 456.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1355, allocations: 4 kB / 456.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.1358, allocations: 227.3 kB / 456.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.1363, allocations: 56.7 kB / 456.8 MB, free: 12.76 MB / 334.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1375, allocations: 0.8313 MB / 457.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1378, allocations: 0.8358 MB / 458.5 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.1381, allocations: 96.94 kB / 458.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1382, allocations: 47.42 kB / 458.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1382, allocations: 0 / 458.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Templates: time 0.01147/0.1497, allocations: 6.817 MB / 465.5 MB, free: 4.062 MB / 334.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)