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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1675/0.1675, allocations: 16.77 MB / 307.2 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.89 kB / 371.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2334, allocations: 53.55 MB / 425.3 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.006312/0.2397, allocations: 10.38 MB / 435.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.243, allocations: 3.515 MB / 439.2 MB, free: 30.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.2433, allocations: 23.62 kB / 439.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.244, allocations: 418.8 kB / 439.6 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.2462, allocations: 1.643 MB / 441.3 MB, free: 28.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.2471, allocations: 0.6544 MB / 441.9 MB, free: 28.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.2484, allocations: 2.028 MB / 444 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2486, allocations: 138.7 kB / 444.1 MB, free: 27.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004298/0.249, allocations: 0.6702 MB / 444.8 MB, free: 27.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.2495, allocations: 0.7512 MB / 445.5 MB, free: 26.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.2496, allocations: 81.8 kB / 445.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.2502, allocations: 400.2 kB / 446 MB, free: 26.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2503, allocations: 213.8 kB / 446.2 MB, free: 26.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.2507, allocations: 0.6487 MB / 446.8 MB, free: 26.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.2517, allocations: 1.592 MB / 448.4 MB, free: 25.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2517, allocations: 0 / 448.4 MB, free: 25.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2517, allocations: 0 / 448.4 MB, free: 25.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.2517, allocations: 7.188 kB / 448.4 MB, free: 25.43 MB / 350.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.005276/0.257, allocations: 2.129 MB / 450.6 MB, free: 24.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.257, allocations: 9.562 kB / 450.6 MB, free: 24.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/0.2576, allocations: 173 kB / 450.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.2584, allocations: 0.794 MB / 451.5 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.2585, allocations: 62.72 kB / 451.6 MB, free: 23.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.2586, allocations: 86.25 kB / 451.7 MB, free: 23.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.2595, allocations: 1.018 MB / 452.7 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2595, allocations: 10.5 kB / 452.7 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.2596, allocations: 37.06 kB / 452.7 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2596, allocations: 22.22 kB / 452.8 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.2605, allocations: 0.7976 MB / 453.6 MB, free: 22.63 MB / 350.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.004781/0.2653, allocations: 6.593 MB / 460.2 MB, free: 17.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.2665, allocations: 0.7364 MB / 460.9 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.2668, allocations: 280.5 kB / 461.2 MB, free: 16.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.2668, allocations: 17.47 kB / 461.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.2669, allocations: 41.41 kB / 461.2 MB, free: 16.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.954e-06/0.2669, allocations: 0 / 461.2 MB, free: 16.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002502/0.2694, allocations: 1.234 MB / 462.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.2694, allocations: 61.31 kB / 462.5 MB, free: 16.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/0.2703, allocations: 1.004 MB / 463.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.2703, allocations: 44.61 kB / 463.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.2705, allocations: 0.5014 MB / 464.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2707, allocations: 307.8 kB / 464.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.2711, allocations: 483.9 kB / 464.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.2712, allocations: 342.1 kB / 465.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.272, allocations: 0.6434 MB / 465.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009678/0.2729, allocations: 0.8587 MB / 466.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2744, allocations: 1.227 MB / 467.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2744, allocations: 1.188 kB / 467.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.002868/0.2773, allocations: 2.133 MB / 470 MB, free: 12.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2773, allocations: 6.531 kB / 470 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.2773, allocations: 5.281 kB / 470.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.2779, allocations: 172.5 kB / 470.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.2796, allocations: 0.5172 MB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.282, allocations: 2.628 MB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.2833, allocations: 165.2 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.2835, allocations: 81.06 kB / 473.6 MB, free: 9.879 MB / 350.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.000309/0.2838, allocations: 296.9 kB / 473.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2839, allocations: 108.2 kB / 474 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.2852, allocations: 0.7743 MB / 474.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2852, allocations: 7.875 kB / 474.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2852, allocations: 7.938 kB / 474.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2852, allocations: 6.375 kB / 474.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.2871, allocations: 1.799 MB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2871, allocations: 1.031 kB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.2876, allocations: 125.5 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/0.2881, allocations: 158.8 kB / 476.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.2881, allocations: 12.45 kB / 476.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.2904, allocations: 2.587 MB / 479.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2904, allocations: 5.844 kB / 479.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2916, allocations: 0.8598 MB / 480.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.2919, allocations: 275.3 kB / 480.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.292, allocations: 18.62 kB / 480.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.2927, allocations: 31.02 kB / 480.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.2928, allocations: 42.31 kB / 480.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.2928, allocations: 25.3 kB / 480.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006899/0.2935, allocations: 0.6238 MB / 481.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2935, allocations: 0 / 481.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001063/0.2946, allocations: 0.4939 MB / 481.8 MB, free: 5.012 MB / 350.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.0002058/0.2948, allocations: 178.1 kB / 482 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.2972, allocations: 1.591 MB / 483.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2972, allocations: 5.719 kB / 483.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.2978, allocations: 478.4 kB / 484.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.2985, allocations: 95.33 kB / 484.2 MB, free: 3.891 MB / 350.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.002033/0.3005, allocations: 1.505 MB / 485.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.301, allocations: 0.9972 MB / 486.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006679/0.3017, allocations: 177.5 kB / 486.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.3019, allocations: 85.91 kB / 486.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3019, allocations: 0 / 486.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Templates: time 0.02259/0.3245, allocations: 14.58 MB / 0.4898 GB, free: 8.031 MB / 366.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)