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.0008533/0.0008533, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0008754/0.0008754, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.875/0.875, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.04758/0.04758, allocations: 13 MB / 273.3 MB, free: 284 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.373e-06/1.373e-06, allocations: 3.938 kB / 347.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.078e-05, allocations: 2.312 kB / 347.5 MB, free: 2.316 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01313/0.01315, allocations: 20.46 MB / 368 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.02354, allocations: 7.898 MB / 375.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.02634, allocations: 75.44 kB / 376 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.0291, allocations: 1.051 MB / 377 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.03673, allocations: 3.882 MB / 380.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.03893, allocations: 1.341 MB / 382.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006736/0.04567, allocations: 7.161 MB / 389.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.04642, allocations: 265.4 kB / 389.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005645/0.05207, allocations: 3.362 MB / 393 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.05469, allocations: 1.865 MB / 394.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006154/0.05531, allocations: 244 kB / 395.1 MB, free: 2.523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.05709, allocations: 0.7063 MB / 395.8 MB, free: 1.816 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.05743, allocations: 0.6568 MB / 396.5 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.0588, allocations: 1.414 MB / 397.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.06241, allocations: 3.039 MB / 400.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.269e-06/0.06241, allocations: 0 / 400.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.06241, allocations: 0 / 400.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.649e-05/0.06247, allocations: 0 / 400.9 MB, free: 12.69 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.009994/0.07246, allocations: 6.256 MB / 407.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.0725, allocations: 8.031 kB / 407.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.07387, allocations: 0.7872 MB / 408 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.07598, allocations: 1.94 MB / 409.9 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.07609, allocations: 205.5 kB / 410.1 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.0763, allocations: 276.4 kB / 410.4 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.07884, allocations: 3.351 MB / 413.7 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.07888, allocations: 23.75 kB / 413.8 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.07903, allocations: 120 kB / 413.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.07907, allocations: 72 kB / 414 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.0804, allocations: 1.31 MB / 415.3 MB, free: 13.45 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.01318/0.09358, allocations: 22.86 MB / 438.1 MB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.09526, allocations: 1.555 MB / 439.7 MB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.09572, allocations: 453.3 kB / 440.1 MB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.09584, allocations: 61.97 kB / 440.2 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.09588, allocations: 75.38 kB / 440.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=252): time 4.588e-06/0.09588, allocations: 0 / 440.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1326/0.2285, allocations: 4.918 MB / 445.2 MB, free: 99.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2285, allocations: 81.41 kB / 445.3 MB, free: 99.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.2308, allocations: 2.486 MB / 447.7 MB, free: 99.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.2311, allocations: 77.36 kB / 447.8 MB, free: 99.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009666/0.2321, allocations: 1.622 MB / 449.4 MB, free: 98.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.2332, allocations: 1.086 MB / 450.5 MB, free: 98.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002053/0.2352, allocations: 1.534 MB / 452.1 MB, free: 98.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.2353, allocations: 476.8 kB / 452.5 MB, free: 97.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.2369, allocations: 1.209 MB / 453.7 MB, free: 97.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.2389, allocations: 2.032 MB / 455.8 MB, free: 97.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.2419, allocations: 2.903 MB / 458.7 MB, free: 96.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.2419, allocations: 3.25 kB / 458.7 MB, free: 96.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=1045) (initialization): time 0.006457/0.2484, allocations: 5.474 MB / 464.2 MB, free: 96.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2484, allocations: 6.281 kB / 464.2 MB, free: 96.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.2485, allocations: 6.281 kB / 464.2 MB, free: 96.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.2501, allocations: 0.9242 MB / 465.1 MB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.2529, allocations: 1.524 MB / 466.6 MB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.2578, allocations: 5.315 MB / 471.9 MB, free: 94.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/0.2612, allocations: 0.6461 MB / 472.6 MB, free: 93.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/0.2616, allocations: 183.5 kB / 472.8 MB, free: 93.86 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 (bus2.isReferenceBus,bus2.isSlackBus,load1.isSlackBus,load2.isSlackBus,load3.isSlackBus,load4.isSlackBus,slack.isSlackBus,bus.isSlackBus) * 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.0008057/0.2624, allocations: 471.4 kB / 473.2 MB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/0.263, allocations: 427.4 kB / 473.6 MB, free: 93.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.2653, allocations: 1.804 MB / 475.4 MB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.2653, allocations: 27.31 kB / 475.5 MB, free: 93.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.2653, allocations: 4.312 kB / 475.5 MB, free: 93.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.2653, allocations: 14.02 kB / 475.5 MB, free: 93.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.2693, allocations: 3.414 MB / 478.9 MB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.2693, allocations: 0 / 478.9 MB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.2699, allocations: 312.9 kB / 479.2 MB, free: 92.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.2713, allocations: 0.7332 MB / 479.9 MB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/0.2714, allocations: 45.75 kB / 480 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.2755, allocations: 5.115 MB / 485.1 MB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2755, allocations: 2.875 kB / 485.1 MB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.2782, allocations: 2.051 MB / 487.1 MB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.2794, allocations: 0.6606 MB / 487.8 MB, free: 87.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/0.2797, allocations: 44.78 kB / 487.9 MB, free: 87.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.2808, allocations: 92 kB / 487.9 MB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.281, allocations: 159.9 kB / 488.1 MB, free: 87.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.2811, allocations: 65.34 kB / 488.2 MB, free: 87.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009878/0.2821, allocations: 1.242 MB / 489.4 MB, free: 87.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2821, allocations: 4 kB / 489.4 MB, free: 87.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002917/0.285, allocations: 1.654 MB / 491.1 MB, free: 87.13 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.0004037/0.2854, allocations: 296.3 kB / 491.4 MB, free: 86.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.2897, allocations: 3.657 MB / 495 MB, free: 86.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.2898, allocations: 3.219 kB / 495 MB, free: 86.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.2911, allocations: 1.189 MB / 496.2 MB, free: 85.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.2929, allocations: 325.5 kB / 496.5 MB, free: 85.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.2988, allocations: 4.275 MB / 0.4891 GB, free: 81.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.2992, allocations: 490.3 kB / 0.4895 GB, free: 81.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001423/0.3006, allocations: 0.5358 MB / 0.49 GB, free: 81.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008787/0.3015, allocations: 0.6509 MB / 0.4907 GB, free: 80.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3015, allocations: 0 / 0.4907 GB, free: 80.62 MB / 410.7 MB Notification: Performance of Templates: time 0.04561/0.3471, allocations: 49.43 MB / 0.539 GB, free: 36.13 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: 3.932976746931672]