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.000955/0.000955, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009864/0.0009864, allocations: 165 kB / 23.01 MB, free: 1.555 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.9363/0.9363, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.0535/0.0535, allocations: 12.94 MB / 272.9 MB, free: 0.4922 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.463e-06/1.463e-06, allocations: 0 / 347 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.939e-05, allocations: 6.312 kB / 347 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01376/0.01378, allocations: 20.88 MB / 367.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.02518, allocations: 7.941 MB / 375.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.0279, allocations: 75.5 kB / 375.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.03011, allocations: 1.051 MB / 377 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007183/0.03729, allocations: 3.802 MB / 380.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.0392, allocations: 1.356 MB / 382.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00663/0.04583, allocations: 7.158 MB / 389.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007681/0.0466, allocations: 261.5 kB / 389.5 MB, free: 6.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005782/0.05238, allocations: 3.23 MB / 392.8 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003229/0.05561, allocations: 1.951 MB / 394.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006037/0.05621, allocations: 260 kB / 395 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.0581, allocations: 0.7416 MB / 395.7 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.05849, allocations: 0.684 MB / 396.4 MB, free: 20 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.0598, allocations: 1.499 MB / 397.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.06309, allocations: 3.102 MB / 401 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.0631, allocations: 0 / 401 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.0631, allocations: 0 / 401 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.312e-05/0.06313, allocations: 0 / 401 MB, free: 11.41 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.009809/0.07294, allocations: 6.281 MB / 407.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.07298, allocations: 8.031 kB / 407.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.07428, allocations: 0.7911 MB / 408.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.07668, allocations: 2.166 MB / 410.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.07678, allocations: 205.5 kB / 410.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.07699, allocations: 284.4 kB / 410.7 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1445/0.2215, allocations: 3.507 MB / 414.2 MB, free: 37.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-05/0.2215, allocations: 19.72 kB / 414.2 MB, free: 37.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.2217, allocations: 120.2 kB / 414.4 MB, free: 37.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-05/0.2218, allocations: 70.25 kB / 414.4 MB, free: 37.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.224, allocations: 1.593 MB / 416 MB, free: 37.92 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.01201/0.236, allocations: 23.11 MB / 439.1 MB, free: 20.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.2382, allocations: 1.699 MB / 440.8 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.2389, allocations: 0.5347 MB / 441.4 MB, free: 20.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.239, allocations: 53.36 kB / 441.4 MB, free: 20.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.239, allocations: 71.08 kB / 441.5 MB, free: 20.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=252): time 4.929e-06/0.239, allocations: 0 / 441.5 MB, free: 20.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=252): time 0.01161/0.2506, allocations: 5.161 MB / 446.7 MB, free: 19.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.2507, allocations: 82.69 kB / 446.7 MB, free: 19.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.2527, allocations: 2.566 MB / 449.3 MB, free: 19.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.2528, allocations: 75.55 kB / 449.4 MB, free: 19.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.2535, allocations: 1.594 MB / 451 MB, free: 18.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005527/0.2541, allocations: 1.07 MB / 452 MB, free: 17.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.2553, allocations: 1.492 MB / 453.5 MB, free: 16.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.2554, allocations: 480.7 kB / 454 MB, free: 16.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.257, allocations: 1.302 MB / 455.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.2589, allocations: 2.083 MB / 457.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.2618, allocations: 2.996 MB / 460.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.2618, allocations: 0 / 460.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=1047) (initialization): time 0.005905/0.2677, allocations: 5.681 MB / 466.1 MB, free: 6.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.2677, allocations: 8.281 kB / 466.1 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.2677, allocations: 13.56 kB / 466.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.2695, allocations: 0.9385 MB / 467 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/0.2722, allocations: 1.527 MB / 468.5 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005081/0.2773, allocations: 5.495 MB / 474 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/0.2801, allocations: 0.4908 MB / 474.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.2804, allocations: 244 kB / 474.8 MB, free: 14.3 MB / 346.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 (983): * Single equations (assignments): 981 * 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.00074/0.2811, allocations: 478.8 kB / 475.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/0.2816, allocations: 421.8 kB / 475.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.2843, allocations: 1.983 MB / 477.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.2844, allocations: 27.94 kB / 477.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2844, allocations: 0 / 477.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.2844, allocations: 11.95 kB / 477.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.2889, allocations: 3.845 MB / 481.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2889, allocations: 0 / 481.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.2896, allocations: 313.3 kB / 481.8 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.2913, allocations: 0.7546 MB / 482.6 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.2914, allocations: 43.98 kB / 482.6 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.2967, allocations: 5.291 MB / 487.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2967, allocations: 0 / 487.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.2997, allocations: 2.225 MB / 490.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/0.3006, allocations: 0.6305 MB / 490.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.3008, allocations: 43.98 kB / 490.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.3018, allocations: 91.3 kB / 490.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.302, allocations: 161.7 kB / 491.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.048e-05/0.3021, allocations: 75.97 kB / 491.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.3035, allocations: 1.364 MB / 492.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3035, allocations: 0 / 492.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002561/0.3061, allocations: 1.62 MB / 494.1 MB, free: 11.05 MB / 362.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.0004048/0.3065, allocations: 300.9 kB / 494.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004382/0.3109, allocations: 3.811 MB / 498.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3109, allocations: 4.688 kB / 498.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.3122, allocations: 1.259 MB / 499.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3134, allocations: 305.1 kB / 499.8 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.319, allocations: 4.291 MB / 0.4923 GB, free: 1.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3194, allocations: 492 kB / 0.4927 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.3205, allocations: 0.5419 MB / 0.4933 GB, free: 136 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.3209, allocations: 248.5 kB / 0.4935 GB, free: 15.89 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3209, allocations: 2.953 kB / 0.4935 GB, free: 15.89 MB / 378.7 MB Notification: Performance of Templates: time 0.04962/0.3706, allocations: 44.32 MB / 0.5368 GB, free: 4.082 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.439763837028295]