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.001051/0.001051, 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.001055/0.001055, allocations: 192.7 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1628/0.1628, allocations: 16.78 MB / 307.2 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 59.91 kB / 371.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2189, allocations: 53.55 MB / 425.3 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.006458/0.2254, allocations: 10.39 MB / 435.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.229, allocations: 3.511 MB / 439.2 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.2294, allocations: 24.03 kB / 439.2 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.23, allocations: 418.6 kB / 439.6 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.2323, allocations: 1.647 MB / 441.3 MB, free: 29.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009484/0.2333, allocations: 0.6561 MB / 441.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.2346, allocations: 2.021 MB / 444 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2348, allocations: 137.8 kB / 444.1 MB, free: 27.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.2354, allocations: 0.6749 MB / 444.8 MB, free: 27.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.2359, allocations: 0.744 MB / 445.5 MB, free: 27.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.236, allocations: 81.16 kB / 445.6 MB, free: 27.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006054/0.2366, allocations: 405.1 kB / 446 MB, free: 27.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2367, allocations: 216.3 kB / 446.2 MB, free: 26.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.2371, allocations: 0.6481 MB / 446.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2382, allocations: 1.588 MB / 448.4 MB, free: 25.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2382, allocations: 3 kB / 448.4 MB, free: 25.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2382, allocations: 0 / 448.4 MB, free: 25.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.2382, allocations: 0 / 448.4 MB, free: 25.91 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.005334/0.2435, allocations: 2.133 MB / 450.6 MB, free: 24.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2436, allocations: 6.969 kB / 450.6 MB, free: 24.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/0.2441, allocations: 175.4 kB / 450.8 MB, free: 24.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.2451, allocations: 0.7916 MB / 451.6 MB, free: 24.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2451, allocations: 64.78 kB / 451.6 MB, free: 24.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.2452, allocations: 85.81 kB / 451.7 MB, free: 24.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.2462, allocations: 1.02 MB / 452.7 MB, free: 23.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2462, allocations: 7.281 kB / 452.7 MB, free: 23.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.2463, allocations: 33.94 kB / 452.8 MB, free: 23.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.2463, allocations: 26.16 kB / 452.8 MB, free: 23.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.2472, allocations: 0.7934 MB / 453.6 MB, free: 23.12 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.005187/0.2524, allocations: 6.625 MB / 460.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.2536, allocations: 0.7269 MB / 460.9 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.2539, allocations: 287.4 kB / 461.2 MB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.2539, allocations: 9.938 kB / 461.2 MB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.2539, allocations: 42.31 kB / 461.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.565e-06/0.254, allocations: 4 kB / 461.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002826/0.2568, allocations: 1.289 MB / 462.6 MB, free: 16.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2568, allocations: 61.09 kB / 462.6 MB, free: 16.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.2577, allocations: 0.9948 MB / 463.6 MB, free: 16.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.2578, allocations: 48.08 kB / 463.7 MB, free: 16.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.2581, allocations: 0.5063 MB / 464.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.2582, allocations: 315.1 kB / 464.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004719/0.2587, allocations: 487.5 kB / 464.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.2588, allocations: 339.9 kB / 465.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/0.2596, allocations: 0.6431 MB / 465.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009474/0.2606, allocations: 0.8598 MB / 466.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.2621, allocations: 1.225 MB / 468 MB, free: 13.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2621, allocations: 1.062 kB / 468 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003005/0.2651, allocations: 2.151 MB / 470.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2651, allocations: 6.156 kB / 470.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2651, allocations: 1.062 kB / 470.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.2658, allocations: 183.5 kB / 470.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.2675, allocations: 0.5127 MB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.2701, allocations: 2.711 MB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.2716, allocations: 168.6 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.2718, allocations: 84.22 kB / 473.8 MB, free: 10.26 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.0003537/0.2721, allocations: 289.5 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.2723, allocations: 112.3 kB / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.2735, allocations: 0.7742 MB / 475 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2736, allocations: 7.969 kB / 475 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2736, allocations: 0 / 475 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.2736, allocations: 11.73 kB / 475 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.2759, allocations: 1.809 MB / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2759, allocations: 1.062 kB / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.2764, allocations: 118.2 kB / 476.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.2769, allocations: 164.5 kB / 477.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.2769, allocations: 11.78 kB / 477.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.2793, allocations: 2.655 MB / 479.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2793, allocations: 11.88 kB / 479.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.2806, allocations: 0.8628 MB / 480.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.281, allocations: 274.9 kB / 480.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.2811, allocations: 16.52 kB / 480.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006962/0.2819, allocations: 30.06 kB / 480.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.282, allocations: 50.67 kB / 481 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.282, allocations: 26.41 kB / 481 MB, free: 5.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007958/0.2828, allocations: 0.6159 MB / 481.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2828, allocations: 0 / 481.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001182/0.284, allocations: 0.5005 MB / 482.1 MB, free: 5.34 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.000218/0.2842, allocations: 171.1 kB / 482.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.2866, allocations: 1.6 MB / 483.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2866, allocations: 0 / 483.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005869/0.2872, allocations: 491.5 kB / 484.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.2878, allocations: 87.98 kB / 484.5 MB, free: 4.219 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.2899, allocations: 1.516 MB / 486 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.2904, allocations: 1.003 MB / 487 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006752/0.291, allocations: 176 kB / 487.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.2913, allocations: 81.22 kB / 487.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2913, allocations: 0 / 487.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Templates: time 0.02217/0.3134, allocations: 14.79 MB / 0.4903 GB, free: 7.566 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)