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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009238/0.0009238, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8883/0.8883, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04702/0.04702, allocations: 12.97 MB / 272.9 MB, free: 468 kB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 347.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.616e-05, allocations: 6.25 kB / 347.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01739/0.01741, allocations: 20.9 MB / 368 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.0277, allocations: 7.937 MB / 375.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.02884, allocations: 75.44 kB / 376 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.03042, allocations: 1.047 MB / 377 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.03499, allocations: 3.816 MB / 380.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.03666, allocations: 1.356 MB / 382.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004984/0.04165, allocations: 7.161 MB / 389.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.04203, allocations: 257.4 kB / 389.6 MB, free: 7.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.04468, allocations: 3.366 MB / 393 MB, free: 4.512 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.04612, allocations: 1.862 MB / 394.8 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.04638, allocations: 244 kB / 395.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.04745, allocations: 0.6869 MB / 395.8 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.04779, allocations: 0.6645 MB / 396.4 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009726/0.04876, allocations: 1.414 MB / 397.8 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.05127, allocations: 3.023 MB / 400.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.05127, allocations: 3.984 kB / 400.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.05127, allocations: 0 / 400.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.0513, allocations: 0 / 400.9 MB, free: 12.59 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.009565/0.06086, allocations: 6.171 MB / 407 MB, free: 6.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.06089, allocations: 16.03 kB / 407.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.06223, allocations: 0.7872 MB / 407.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.06421, allocations: 1.987 MB / 409.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.06432, allocations: 201.5 kB / 410 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.06453, allocations: 280.3 kB / 410.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.06739, allocations: 3.504 MB / 413.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.06743, allocations: 31.69 kB / 413.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.06757, allocations: 120 kB / 413.9 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.06761, allocations: 68 kB / 414 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.06955, allocations: 1.591 MB / 415.6 MB, free: 12.95 MB / 394.7 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.01156/0.08112, allocations: 23.19 MB / 438.8 MB, free: 4.961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.08341, allocations: 1.709 MB / 440.5 MB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.0841, allocations: 0.5365 MB / 441 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.0842, allocations: 57.97 kB / 441.1 MB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.08424, allocations: 67.39 kB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=252): time 5.04e-06/0.08424, allocations: 0 / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1341/0.2183, allocations: 5.178 MB / 446.3 MB, free: 98.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2184, allocations: 79.47 kB / 446.4 MB, free: 98.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.2203, allocations: 2.553 MB / 449 MB, free: 97.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/0.2204, allocations: 78.42 kB / 449.1 MB, free: 97.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/0.2211, allocations: 1.591 MB / 450.6 MB, free: 97.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/0.2216, allocations: 1.066 MB / 451.7 MB, free: 96.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.2228, allocations: 1.492 MB / 453.2 MB, free: 96.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.2228, allocations: 484.2 kB / 453.7 MB, free: 96.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.2244, allocations: 1.297 MB / 455 MB, free: 96.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.2263, allocations: 2.086 MB / 457.1 MB, free: 95.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.2292, allocations: 2.984 MB / 460 MB, free: 95.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.2293, allocations: 3.969 kB / 460 MB, free: 95.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=1045) (initialization): time 0.006092/0.2354, allocations: 5.679 MB / 465.7 MB, free: 94.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.2354, allocations: 7.781 kB / 465.7 MB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.2354, allocations: 6.75 kB / 465.7 MB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.2372, allocations: 0.9399 MB / 466.7 MB, free: 94.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.2402, allocations: 1.519 MB / 468.2 MB, free: 94.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.2457, allocations: 5.569 MB / 473.8 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.2481, allocations: 0.6455 MB / 474.4 MB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.2484, allocations: 249.7 kB / 474.7 MB, free: 91.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus,bus2.isReferenceBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (981): * Single equations (assignments): 979 * 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.000657/0.2491, allocations: 470.3 kB / 475.1 MB, free: 91.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.2495, allocations: 427.9 kB / 475.5 MB, free: 91.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.252, allocations: 1.987 MB / 477.5 MB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.252, allocations: 23.78 kB / 477.5 MB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.252, allocations: 0 / 477.5 MB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.252, allocations: 12.09 kB / 477.6 MB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.2559, allocations: 3.892 MB / 481.4 MB, free: 89.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2559, allocations: 3.75 kB / 481.5 MB, free: 89.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.2565, allocations: 312.3 kB / 481.8 MB, free: 89.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.258, allocations: 0.7591 MB / 482.5 MB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.2581, allocations: 53.64 kB / 482.6 MB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/0.2626, allocations: 5.347 MB / 487.9 MB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2626, allocations: 3.844 kB / 487.9 MB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.2651, allocations: 2.228 MB / 490.1 MB, free: 84.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/0.2659, allocations: 0.6561 MB / 490.8 MB, free: 84.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.2661, allocations: 39.19 kB / 490.8 MB, free: 84.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.2671, allocations: 86.81 kB / 490.9 MB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.2672, allocations: 169.8 kB / 491.1 MB, free: 84.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.2673, allocations: 81.91 kB / 491.2 MB, free: 84.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.2684, allocations: 1.363 MB / 492.5 MB, free: 83.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2684, allocations: 4 kB / 492.5 MB, free: 83.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001958/0.2703, allocations: 1.653 MB / 494.2 MB, free: 83.44 MB / 410.7 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.0003392/0.2707, allocations: 295.2 kB / 494.5 MB, free: 83.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003666/0.2744, allocations: 3.81 MB / 498.3 MB, free: 82.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2744, allocations: 192 / 498.3 MB, free: 82.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.2755, allocations: 1.268 MB / 499.6 MB, free: 81.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.2765, allocations: 310.3 kB / 499.9 MB, free: 81.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.2805, allocations: 4.286 MB / 0.4923 GB, free: 77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.2808, allocations: 489.1 kB / 0.4928 GB, free: 76.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001006/0.2818, allocations: 0.5387 MB / 0.4933 GB, free: 76.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.2822, allocations: 247.1 kB / 0.4936 GB, free: 76 MB / 410.7 MB Notification: Performance of SimCode: time 1.031e-06/0.2822, allocations: 0 / 0.4936 GB, free: 76 MB / 410.7 MB Notification: Performance of Templates: time 0.04352/0.3258, allocations: 47.84 MB / 0.5403 GB, free: 32.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.200907805934548]