Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004981/0.004981, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001195/0.001195, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07163/0.07163, allocations: 16.77 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 426.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09594, allocations: 53.56 MB / 480.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.0231/0.1191, allocations: 28.74 MB / 0.497 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2197/0.3388, allocations: 8.153 MB / 0.5049 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.3419, allocations: 65.25 kB / 0.505 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.3444, allocations: 1.065 MB / 0.506 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007875/0.3523, allocations: 3.731 MB / 0.5097 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.355, allocations: 1.395 MB / 0.511 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00765/0.3627, allocations: 6.478 MB / 0.5174 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008294/0.3635, allocations: 467.8 kB / 0.5178 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.3671, allocations: 2.193 MB / 0.5199 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.3701, allocations: 2.379 MB / 0.5223 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004974/0.3706, allocations: 255.9 kB / 0.5225 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.3727, allocations: 0.7335 MB / 0.5232 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.3731, allocations: 0.6725 MB / 0.5239 GB, free: 388 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002012/0.3751, allocations: 2.072 MB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005495/0.3806, allocations: 4.718 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3806, allocations: 1.25 kB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3806, allocations: 0 / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.175e-05/0.3807, allocations: 0 / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02076/0.4015, allocations: 6.073 MB / 0.5364 GB, free: 9.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4015, allocations: 12.31 kB / 0.5365 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.4041, allocations: 0.5563 MB / 0.537 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.4086, allocations: 2.201 MB / 0.5391 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.4088, allocations: 209 kB / 0.5393 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/0.4092, allocations: 267.8 kB / 0.5396 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004754/0.4139, allocations: 3.177 MB / 0.5427 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.414, allocations: 21.09 kB / 0.5427 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/0.4143, allocations: 120.5 kB / 0.5428 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.4143, allocations: 70.88 kB / 0.5429 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/0.4183, allocations: 2.529 MB / 0.5454 GB, free: 3.09 MB / 398.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.02194/0.4402, allocations: 20.52 MB / 0.5654 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/0.4451, allocations: 2.528 MB / 0.5679 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.4467, allocations: 0.9464 MB / 0.5688 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.4468, allocations: 44.97 kB / 0.5689 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.4469, allocations: 60.56 kB / 0.5689 GB, free: 10.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=252): time 5.29e-06/0.4469, allocations: 0 / 0.5689 GB, free: 10.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.01949/0.4664, allocations: 5.997 MB / 0.5748 GB, free: 4.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.4665, allocations: 81.41 kB / 0.5748 GB, free: 4.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005002/0.4715, allocations: 2.942 MB / 0.5777 GB, free: 1.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000323/0.4719, allocations: 81.64 kB / 0.5778 GB, free: 1.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.4732, allocations: 1.456 MB / 0.5792 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.4744, allocations: 1.055 MB / 0.5803 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/0.4775, allocations: 1.526 MB / 0.5817 GB, free: 13.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.4776, allocations: 305.1 kB / 0.582 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/0.4812, allocations: 2.071 MB / 0.5841 GB, free: 10.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.4854, allocations: 2.753 MB / 0.5867 GB, free: 7.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005968/0.4913, allocations: 3.972 MB / 0.5906 GB, free: 3.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.4914, allocations: 0 / 0.5906 GB, free: 3.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01213/0.5035, allocations: 7.002 MB / 0.5975 GB, free: 12.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.5036, allocations: 8 kB / 0.5975 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.5036, allocations: 4 kB / 0.5975 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/0.5061, allocations: 0.9358 MB / 0.5984 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/0.5125, allocations: 1.655 MB / 0.6 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.5234, allocations: 7.01 MB / 0.6068 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0062/0.5297, allocations: 0.555 MB / 0.6074 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007786/0.5305, allocations: 260 kB / 0.6076 GB, free: 2.043 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.001447/0.5319, allocations: 0.6805 MB / 0.6083 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008006/0.5327, allocations: 365.7 kB / 0.6086 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005075/0.5378, allocations: 2.679 MB / 0.6113 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.5379, allocations: 24 kB / 0.6113 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5379, allocations: 4 kB / 0.6113 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.5379, allocations: 11.95 kB / 0.6113 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008528/0.5464, allocations: 5.542 MB / 0.6167 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5465, allocations: 4 kB / 0.6167 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.5479, allocations: 383.5 kB / 0.6171 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.5502, allocations: 0.7481 MB / 0.6178 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.5503, allocations: 40 kB / 0.6179 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00949/0.5598, allocations: 6.783 MB / 0.6245 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5599, allocations: 0 / 0.6245 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/0.5655, allocations: 2.772 MB / 0.6272 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/0.5677, allocations: 0.7287 MB / 0.6279 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007684/0.5685, allocations: 40 kB / 0.6279 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/0.5709, allocations: 111.8 kB / 0.628 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.5712, allocations: 153.7 kB / 0.6282 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.5714, allocations: 79.97 kB / 0.6283 GB, free: 12.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002597/0.574, allocations: 1.77 MB / 0.63 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.574, allocations: 0 / 0.63 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004265/0.5783, allocations: 1.613 MB / 0.6316 GB, free: 9.242 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006041/0.5789, allocations: 291.3 kB / 0.6318 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00889/0.5878, allocations: 5.084 MB / 0.6368 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5878, allocations: 0 / 0.6368 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.5903, allocations: 1.56 MB / 0.6383 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.5929, allocations: 262.9 kB / 0.6386 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.6001, allocations: 4.669 MB / 0.6431 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.6015, allocations: 1.723 MB / 0.6448 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002107/0.6036, allocations: 0.5544 MB / 0.6454 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008198/0.6045, allocations: 247.4 kB / 0.6456 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.6045, allocations: 0 / 0.6456 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.07011/0.6746, allocations: 45.52 MB / 0.6901 GB, free: 13.38 MB / 0.545 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)