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.004797/0.004797, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001261/0.001261, allocations: 189 kB / 16.67 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.207/1.207, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07281/0.07281, allocations: 16.77 MB / 307.3 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 426.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08363, allocations: 53.55 MB / 480.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02304/0.1067, allocations: 28.74 MB / 0.497 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1886/0.2953, allocations: 8.165 MB / 0.5049 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.2981, allocations: 59.56 kB / 0.505 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.3003, allocations: 1.069 MB / 0.506 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007654/0.308, allocations: 3.723 MB / 0.5097 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.3105, allocations: 1.398 MB / 0.511 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006336/0.3168, allocations: 6.48 MB / 0.5174 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.3176, allocations: 461.8 kB / 0.5178 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.3205, allocations: 2.192 MB / 0.5199 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.3226, allocations: 2.376 MB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.3229, allocations: 255.3 kB / 0.5225 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.3245, allocations: 0.7392 MB / 0.5232 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.3249, allocations: 0.6768 MB / 0.5239 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.3265, allocations: 2.07 MB / 0.5259 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.3307, allocations: 4.722 MB / 0.5305 GB, free: 13.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3307, allocations: 1.156 kB / 0.5305 GB, free: 13.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3307, allocations: 0 / 0.5305 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.401e-05/0.3308, allocations: 0 / 0.5305 GB, free: 13.68 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.01763/0.3484, allocations: 6.074 MB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3485, allocations: 12.27 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.3503, allocations: 0.5511 MB / 0.537 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.3535, allocations: 2.204 MB / 0.5392 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3537, allocations: 208.5 kB / 0.5394 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.354, allocations: 267.2 kB / 0.5396 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/0.3576, allocations: 3.177 MB / 0.5427 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.3577, allocations: 19.84 kB / 0.5427 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.3579, allocations: 121.6 kB / 0.5428 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.358, allocations: 69.38 kB / 0.5429 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.3613, allocations: 2.529 MB / 0.5454 GB, free: 3.289 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.01795/0.3793, allocations: 20.52 MB / 0.5654 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004108/0.3834, allocations: 2.524 MB / 0.5679 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.3846, allocations: 0.9522 MB / 0.5688 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.3847, allocations: 44.5 kB / 0.5689 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3848, allocations: 60.5 kB / 0.5689 GB, free: 10.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=252): time 4.007e-06/0.3848, allocations: 4 kB / 0.5689 GB, free: 10.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.01825/0.4031, allocations: 5.999 MB / 0.5748 GB, free: 4.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4031, allocations: 77.41 kB / 0.5749 GB, free: 4.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.4063, allocations: 2.946 MB / 0.5777 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.4064, allocations: 77.81 kB / 0.5778 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009576/0.4074, allocations: 1.456 MB / 0.5792 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000825/0.4082, allocations: 1.054 MB / 0.5803 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.41, allocations: 1.521 MB / 0.5817 GB, free: 13.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.4101, allocations: 301.1 kB / 0.582 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/0.413, allocations: 2.078 MB / 0.5841 GB, free: 10.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.4164, allocations: 2.752 MB / 0.5867 GB, free: 8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/0.4215, allocations: 3.969 MB / 0.5906 GB, free: 3.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.4216, allocations: 4 kB / 0.5906 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01008/0.4316, allocations: 7.001 MB / 0.5975 GB, free: 12.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4317, allocations: 8 kB / 0.5975 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.4317, allocations: 4 kB / 0.5975 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.4341, allocations: 0.928 MB / 0.5984 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005522/0.4396, allocations: 1.662 MB / 0.6 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009733/0.4493, allocations: 7.012 MB / 0.6069 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004912/0.4543, allocations: 0.5589 MB / 0.6074 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/0.4546, allocations: 260 kB / 0.6076 GB, free: 2.25 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.001081/0.4557, allocations: 0.6828 MB / 0.6083 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005009/0.4562, allocations: 357.8 kB / 0.6087 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/0.4609, allocations: 2.686 MB / 0.6113 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.4609, allocations: 24 kB / 0.6113 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4609, allocations: 3.938 kB / 0.6113 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.4609, allocations: 11.95 kB / 0.6113 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007608/0.4685, allocations: 5.539 MB / 0.6167 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4686, allocations: 11.86 kB / 0.6167 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.47, allocations: 375.6 kB / 0.6171 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.4721, allocations: 0.7481 MB / 0.6178 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.4722, allocations: 47.98 kB / 0.6179 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009226/0.4814, allocations: 6.77 MB / 0.6245 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4815, allocations: 7.938 kB / 0.6245 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/0.4864, allocations: 2.772 MB / 0.6272 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.4878, allocations: 0.7209 MB / 0.6279 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/0.4883, allocations: 40 kB / 0.6279 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/0.4905, allocations: 111.9 kB / 0.628 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.4907, allocations: 157.7 kB / 0.6282 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.4909, allocations: 79.97 kB / 0.6283 GB, free: 12.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002239/0.4931, allocations: 1.768 MB / 0.63 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4931, allocations: 4 kB / 0.63 GB, free: 11.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003135/0.4963, allocations: 1.609 MB / 0.6316 GB, free: 9.457 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.0004432/0.4967, allocations: 296.6 kB / 0.6319 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00718/0.5039, allocations: 5.077 MB / 0.6368 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5039, allocations: 4.062 kB / 0.6368 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.5062, allocations: 1.558 MB / 0.6383 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.508, allocations: 267.1 kB / 0.6386 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.5139, allocations: 4.652 MB / 0.6431 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.515, allocations: 1.73 MB / 0.6448 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00164/0.5167, allocations: 0.5582 MB / 0.6454 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/0.5173, allocations: 243.4 kB / 0.6456 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.5173, allocations: 0 / 0.6456 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.0644/0.5817, allocations: 45.52 MB / 0.6901 GB, free: 13.59 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)