Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001062/0.001062, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07538/0.07538, allocations: 16.75 MB / 307.9 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 64.62 kB / 373.1 MB, free: 48.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1168, allocations: 53.57 MB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004313/0.1211, allocations: 4.496 MB / 431.2 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1238, allocations: 2.337 MB / 433.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.1241, allocations: 11.94 kB / 433.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.1246, allocations: 238.6 kB / 433.8 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.1265, allocations: 1.156 MB / 434.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1269, allocations: 206.3 kB / 435.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008037/0.1277, allocations: 0.9959 MB / 436.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1278, allocations: 69.75 kB / 436.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.1281, allocations: 338.5 kB / 436.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1284, allocations: 366.4 kB / 436.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.1285, allocations: 36 kB / 436.9 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1288, allocations: 219.8 kB / 437.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.1289, allocations: 103.4 kB / 437.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.1291, allocations: 326.3 kB / 437.6 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.1298, allocations: 0.8137 MB / 438.4 MB, free: 252 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1298, allocations: 0 / 438.4 MB, free: 252 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1298, allocations: 0 / 438.4 MB, free: 252 kB / 302.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1298, allocations: 0 / 438.4 MB, free: 252 kB / 302.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.002306/0.1321, allocations: 1.017 MB / 439.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1322, allocations: 12.03 kB / 439.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.1325, allocations: 100.1 kB / 439.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008051/0.1333, allocations: 0.5025 MB / 440 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1334, allocations: 33.31 kB / 440 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.1334, allocations: 44.38 kB / 440.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.134, allocations: 483.6 kB / 440.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1341, allocations: 7.938 kB / 440.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.1341, allocations: 16 kB / 440.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.1341, allocations: 19.94 kB / 440.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.1346, allocations: 305.8 kB / 440.9 MB, free: 13.55 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.003375/0.138, allocations: 3.368 MB / 444.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.1384, allocations: 274.7 kB / 444.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1386, allocations: 80.83 kB / 444.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.1386, allocations: 8 kB / 444.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1387, allocations: 34.56 kB / 444.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.1387, allocations: 0 / 444.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008647/0.1395, allocations: 429.1 kB / 445.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1396, allocations: 59.34 kB / 445.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.1402, allocations: 0.5805 MB / 445.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1403, allocations: 29.7 kB / 445.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.1405, allocations: 319.2 kB / 446 MB, free: 8.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.1406, allocations: 110.7 kB / 446.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.1409, allocations: 214.7 kB / 446.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.141, allocations: 374.8 kB / 446.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.1414, allocations: 262.5 kB / 447 MB, free: 7.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.1419, allocations: 370.6 kB / 447.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.1426, allocations: 494.2 kB / 447.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1426, allocations: 4 kB / 447.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001296/0.1439, allocations: 0.8837 MB / 448.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1439, allocations: 4 kB / 448.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1439, allocations: 0 / 448.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.1442, allocations: 44.77 kB / 448.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.145, allocations: 231.8 kB / 449 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.1462, allocations: 1.441 MB / 450.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.1469, allocations: 67.44 kB / 450.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.147, allocations: 39.92 kB / 450.5 MB, free: 3.398 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 (143): * Single equations (assignments): 142 * 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.000232/0.1472, allocations: 201.5 kB / 450.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.1473, allocations: 55.34 kB / 450.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.1478, allocations: 274 kB / 451.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1478, allocations: 4 kB / 451.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1478, allocations: 0 / 451.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1478, allocations: 3.938 kB / 451.1 MB, free: 2.844 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.00125/0.1491, allocations: 1.024 MB / 452.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1491, allocations: 4 kB / 452.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1492, allocations: 35.92 kB / 452.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.1494, allocations: 45.08 kB / 452.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1495, allocations: 4 kB / 452.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.1506, allocations: 1.445 MB / 453.6 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1506, allocations: 0 / 453.6 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.1511, allocations: 424 kB / 454 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.1513, allocations: 172.3 kB / 454.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.1514, allocations: 8 kB / 454.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.1518, allocations: 23.98 kB / 454.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1519, allocations: 27.84 kB / 454.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.1519, allocations: 12 kB / 454.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.1523, allocations: 382.8 kB / 454.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1523, allocations: 0 / 454.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006247/0.153, allocations: 227.8 kB / 454.9 MB, free: 14.74 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 (23): * Single equations (assignments): 22 * 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.0002468/0.1532, allocations: 155.1 kB / 455 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.1542, allocations: 0.6583 MB / 455.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1543, allocations: 0 / 455.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.1546, allocations: 210.6 kB / 455.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.1551, allocations: 66.5 kB / 455.9 MB, free: 13.62 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.001199/0.1563, allocations: 0.8041 MB / 456.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1567, allocations: 0.8391 MB / 457.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002663/0.157, allocations: 92.89 kB / 457.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1571, allocations: 51.38 kB / 457.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1571, allocations: 0 / 457.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of Templates: time 0.01176/0.1689, allocations: 6.667 MB / 464.4 MB, free: 5.109 MB / 334.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)