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.001223/0.001223, allocations: 108 kB / 15.61 MB, free: 152 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.001307/0.001307, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1706/0.1706, allocations: 16.78 MB / 307.2 MB, free: 14.81 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 75.88 kB / 371.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2289, allocations: 53.55 MB / 425.3 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.006571/0.2355, allocations: 10.39 MB / 435.7 MB, free: 32.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.2394, allocations: 3.516 MB / 439.2 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.2398, allocations: 23.06 kB / 439.2 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.2405, allocations: 409.9 kB / 439.6 MB, free: 30 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.243, allocations: 1.65 MB / 441.3 MB, free: 28.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.244, allocations: 0.6497 MB / 441.9 MB, free: 28.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2453, allocations: 2.032 MB / 444 MB, free: 27.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.2455, allocations: 137 kB / 444.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.246, allocations: 0.6693 MB / 444.8 MB, free: 27.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.2465, allocations: 0.7535 MB / 445.5 MB, free: 26.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2466, allocations: 78.31 kB / 445.6 MB, free: 26.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.2473, allocations: 404.9 kB / 446 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2474, allocations: 210.1 kB / 446.2 MB, free: 26.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.2478, allocations: 0.651 MB / 446.9 MB, free: 26.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.2488, allocations: 1.589 MB / 448.4 MB, free: 25.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2488, allocations: 0 / 448.4 MB, free: 25.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2488, allocations: 4 kB / 448.4 MB, free: 25.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.2488, allocations: 0 / 448.4 MB, free: 25.45 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.005309/0.2542, allocations: 2.131 MB / 450.6 MB, free: 24.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.2542, allocations: 10.47 kB / 450.6 MB, free: 24.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005363/0.2547, allocations: 176.8 kB / 450.8 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.2556, allocations: 0.7883 MB / 451.5 MB, free: 23.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2556, allocations: 68.22 kB / 451.6 MB, free: 23.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.2557, allocations: 82.28 kB / 451.7 MB, free: 23.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.2567, allocations: 1.02 MB / 452.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2567, allocations: 10.52 kB / 452.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.2568, allocations: 33.75 kB / 452.8 MB, free: 22.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2568, allocations: 22.25 kB / 452.8 MB, free: 22.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.2577, allocations: 0.8019 MB / 453.6 MB, free: 22.65 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.004877/0.2626, allocations: 6.625 MB / 460.2 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2637, allocations: 0.7166 MB / 460.9 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.264, allocations: 278.5 kB / 461.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.2641, allocations: 16.84 kB / 461.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2641, allocations: 49.06 kB / 461.3 MB, free: 16.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.154e-06/0.2641, allocations: 0 / 461.3 MB, free: 16.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002755/0.2668, allocations: 1.293 MB / 462.6 MB, free: 16.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.2669, allocations: 58.48 kB / 462.6 MB, free: 16.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.2677, allocations: 1.005 MB / 463.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.2678, allocations: 40.95 kB / 463.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.268, allocations: 0.5073 MB / 464.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.2682, allocations: 308.3 kB / 464.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/0.2686, allocations: 485 kB / 464.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.2687, allocations: 338 kB / 465.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.2695, allocations: 0.6472 MB / 465.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009557/0.2705, allocations: 0.8652 MB / 466.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.272, allocations: 1.225 MB / 468 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.272, allocations: 1.062 kB / 468 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003179/0.2752, allocations: 2.144 MB / 470.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2752, allocations: 9.281 kB / 470.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2752, allocations: 2.25 kB / 470.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.2758, allocations: 181.5 kB / 470.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.2775, allocations: 0.5121 MB / 470.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.2801, allocations: 2.718 MB / 473.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.2816, allocations: 167.3 kB / 473.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.2817, allocations: 92.47 kB / 473.8 MB, free: 9.789 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 (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.0003444/0.2821, allocations: 288.9 kB / 474.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.2822, allocations: 108.3 kB / 474.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.2834, allocations: 0.7815 MB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2834, allocations: 6.875 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2834, allocations: 0 / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2835, allocations: 4.844 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.2855, allocations: 1.811 MB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2855, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.2859, allocations: 110.5 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000507/0.2864, allocations: 168.3 kB / 477.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.2865, allocations: 17.08 kB / 477.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.2888, allocations: 2.655 MB / 479.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2888, allocations: 3.938 kB / 479.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.29, allocations: 0.862 MB / 480.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.2904, allocations: 275.6 kB / 480.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.2905, allocations: 12.3 kB / 480.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.2912, allocations: 30.84 kB / 480.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.2913, allocations: 46.7 kB / 481 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2913, allocations: 25.52 kB / 481 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006777/0.292, allocations: 0.6243 MB / 481.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.292, allocations: 0 / 481.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001113/0.2931, allocations: 0.4996 MB / 482.1 MB, free: 4.875 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 (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.0002194/0.2934, allocations: 173.1 kB / 482.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.2956, allocations: 1.605 MB / 483.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2956, allocations: 0 / 483.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.2962, allocations: 483.5 kB / 484.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.2969, allocations: 90.59 kB / 484.5 MB, free: 3.754 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.001941/0.2988, allocations: 1.513 MB / 486 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.2992, allocations: 0.9985 MB / 487 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006593/0.2999, allocations: 181 kB / 487.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.3001, allocations: 81.17 kB / 487.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3001, allocations: 0 / 487.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Templates: time 0.02091/0.321, allocations: 14.78 MB / 0.4902 GB, free: 7.496 MB / 366.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)