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.000929/0.000929, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009376/0.0009376, allocations: 173 kB / 23.49 MB, free: 1.059 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.8671/0.8671, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.05664/0.05664, allocations: 12.74 MB / 273 MB, free: 0.7891 MB / 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.102e-06/1.102e-06, allocations: 0 / 346.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.785e-05, allocations: 2.312 kB / 346.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01194/0.01195, allocations: 20.88 MB / 367.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00809/0.02004, allocations: 7.935 MB / 375.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.02094, allocations: 75.44 kB / 375.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.02225, allocations: 1.047 MB / 376.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.0265, allocations: 3.811 MB / 380.5 MB, free: 384 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.02811, allocations: 1.356 MB / 381.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004428/0.03254, allocations: 7.174 MB / 389 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.03292, allocations: 257.6 kB / 389.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.03545, allocations: 3.241 MB / 392.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.0369, allocations: 1.963 MB / 394.5 MB, free: 2.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.03716, allocations: 264 kB / 394.7 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/0.03809, allocations: 0.7416 MB / 395.5 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.03843, allocations: 0.6879 MB / 396.2 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009866/0.03942, allocations: 1.511 MB / 397.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.04203, allocations: 3.094 MB / 400.8 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.04203, allocations: 0 / 400.8 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.04203, allocations: 0 / 400.8 MB, free: 12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.04205, allocations: 0 / 400.8 MB, free: 12 MB / 330.7 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.01067/0.05272, allocations: 6.3 MB / 407.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.05276, allocations: 16.03 kB / 407.1 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.05415, allocations: 0.7872 MB / 407.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.05646, allocations: 2.182 MB / 410.1 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.05656, allocations: 205.6 kB / 410.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.05677, allocations: 284.4 kB / 410.5 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1051/0.1619, allocations: 3.505 MB / 414 MB, free: 69.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.238e-05/0.1619, allocations: 24.5 kB / 414.1 MB, free: 69.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.1621, allocations: 120.7 kB / 414.2 MB, free: 69.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.1622, allocations: 70.94 kB / 414.2 MB, free: 69.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.1646, allocations: 1.597 MB / 415.8 MB, free: 69.55 MB / 330.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.01065/0.1753, allocations: 23.02 MB / 438.9 MB, free: 49.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1773, allocations: 1.698 MB / 440.6 MB, free: 49.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.1779, allocations: 0.5345 MB / 441.1 MB, free: 49.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.371e-05/0.178, allocations: 58.61 kB / 441.2 MB, free: 49.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.178, allocations: 61.45 kB / 441.2 MB, free: 49.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=252): time 4.729e-06/0.178, allocations: 2.688 kB / 441.2 MB, free: 49.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=252): time 0.01102/0.189, allocations: 5.182 MB / 446.4 MB, free: 46.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.1891, allocations: 81.41 kB / 446.5 MB, free: 46.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.1909, allocations: 2.564 MB / 449 MB, free: 43.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/0.191, allocations: 77.7 kB / 449.1 MB, free: 43.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005949/0.1916, allocations: 1.599 MB / 450.7 MB, free: 42.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004968/0.1921, allocations: 1.075 MB / 451.8 MB, free: 41.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.1932, allocations: 1.49 MB / 453.3 MB, free: 39.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.844e-05/0.1932, allocations: 480.8 kB / 453.8 MB, free: 39.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.1947, allocations: 1.304 MB / 455.1 MB, free: 37.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.1966, allocations: 2.071 MB / 457.1 MB, free: 35.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/0.1994, allocations: 2.982 MB / 460.1 MB, free: 32.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.1994, allocations: 4 kB / 460.1 MB, free: 32.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.005912/0.2053, allocations: 5.678 MB / 465.8 MB, free: 26.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2053, allocations: 8 kB / 465.8 MB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.2054, allocations: 4 kB / 465.8 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.2071, allocations: 0.9433 MB / 466.7 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/0.2099, allocations: 1.524 MB / 468.3 MB, free: 24.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/0.215, allocations: 5.492 MB / 473.8 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.2176, allocations: 499.2 kB / 474.3 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.2178, allocations: 252 kB / 474.5 MB, free: 18.07 MB / 330.7 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 (982): * Single equations (assignments): 980 * 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.0006583/0.2184, allocations: 470 kB / 475 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/0.2188, allocations: 425.8 kB / 475.4 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.2213, allocations: 1.985 MB / 477.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2213, allocations: 27.98 kB / 477.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2213, allocations: 0 / 477.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.2213, allocations: 15.95 kB / 477.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.2253, allocations: 3.854 MB / 481.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2253, allocations: 64 / 481.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.226, allocations: 319.5 kB / 481.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.2276, allocations: 0.7512 MB / 482.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.2276, allocations: 49.56 kB / 482.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/0.2321, allocations: 5.285 MB / 487.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2321, allocations: 4 kB / 487.7 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.2346, allocations: 2.232 MB / 489.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.2353, allocations: 0.6223 MB / 490.5 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.2356, allocations: 40 kB / 490.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.2366, allocations: 91.86 kB / 490.6 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.2368, allocations: 165.7 kB / 490.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.2369, allocations: 79.97 kB / 490.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.238, allocations: 1.368 MB / 492.2 MB, free: 148 kB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.238, allocations: 0 / 492.2 MB, free: 148 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.002226/0.2402, allocations: 1.62 MB / 493.9 MB, free: 14.52 MB / 346.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.0003765/0.2406, allocations: 301 kB / 494.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.2448, allocations: 3.811 MB / 498 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2448, allocations: 0 / 498 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.2461, allocations: 1.269 MB / 499.2 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.2471, allocations: 306.8 kB / 499.5 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.2524, allocations: 4.296 MB / 0.492 GB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.2528, allocations: 488.4 kB / 0.4925 GB, free: 3.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001076/0.2539, allocations: 0.5458 MB / 0.493 GB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.2543, allocations: 248.5 kB / 0.4933 GB, free: 3.152 MB / 346.7 MB Notification: Performance of SimCode: time 1.233e-06/0.2543, allocations: 0 / 0.4933 GB, free: 3.152 MB / 346.7 MB Notification: Performance of Templates: time 0.04905/0.3034, allocations: 44.4 MB / 0.5366 GB, free: 7.172 MB / 394.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.1138078910298645]