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.00101/0.00101, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009519/0.0009519, allocations: 181.9 kB / 23.21 MB, free: 1.352 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.8895/0.8895, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.04353/0.04353, allocations: 12.53 MB / 272.5 MB, free: 1.121 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.493e-06/1.493e-06, allocations: 0 / 403.6 MB, free: 9.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.964e-05, allocations: 8.953 kB / 403.6 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2034/0.2035, allocations: 24.79 MB / 428.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.215, allocations: 7.71 MB / 436.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.2178, allocations: 82 kB / 436.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.2198, allocations: 1.031 MB / 437.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007293/0.2271, allocations: 3.747 MB / 440.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.2294, allocations: 1.395 MB / 442.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007841/0.2372, allocations: 7.041 MB / 449.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.2379, allocations: 263.5 kB / 449.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.2424, allocations: 3.168 MB / 452.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.2446, allocations: 1.922 MB / 454.7 MB, free: 6.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00052/0.2451, allocations: 260 kB / 455 MB, free: 6.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.2469, allocations: 0.7454 MB / 455.7 MB, free: 5.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.2472, allocations: 0.6801 MB / 456.4 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.2488, allocations: 1.476 MB / 457.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00442/0.2532, allocations: 4.685 MB / 462.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2532, allocations: 0 / 462.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2532, allocations: 0 / 462.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.328e-05/0.2533, allocations: 0 / 462.6 MB, free: 14.8 MB / 362.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.01142/0.2647, allocations: 5.97 MB / 468.5 MB, free: 8.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.2648, allocations: 12.03 kB / 468.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.2661, allocations: 0.5412 MB / 469.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.2689, allocations: 2.105 MB / 471.2 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.269, allocations: 205.6 kB / 471.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.2692, allocations: 272.4 kB / 471.7 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.2724, allocations: 3.708 MB / 475.4 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.2724, allocations: 23.75 kB / 475.4 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.2726, allocations: 124 kB / 475.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.2726, allocations: 76 kB / 475.6 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.2752, allocations: 2.505 MB / 478.1 MB, free: 14.54 MB / 378.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.0138/0.289, allocations: 17.63 MB / 495.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.2917, allocations: 2.205 MB / 497.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009411/0.2926, allocations: 0.8306 MB / 498.8 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.2927, allocations: 33.98 kB / 498.8 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.2928, allocations: 68.55 kB / 498.9 MB, free: 9.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=252): time 4.268e-06/0.2928, allocations: 0 / 498.9 MB, free: 9.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.01255/0.3053, allocations: 5.776 MB / 0.4928 GB, free: 3.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.3054, allocations: 85.39 kB / 0.4929 GB, free: 3.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.3087, allocations: 2.733 MB / 0.4956 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.3089, allocations: 77.7 kB / 0.4956 GB, free: 456 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/0.3099, allocations: 1.49 MB / 0.4971 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.3109, allocations: 1.027 MB / 0.4981 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.3124, allocations: 1.417 MB / 0.4995 GB, free: 12.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3125, allocations: 304.9 kB / 0.4998 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.3147, allocations: 2.007 MB / 0.5017 GB, free: 10.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.3174, allocations: 2.646 MB / 0.5043 GB, free: 7.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.3214, allocations: 3.874 MB / 0.5081 GB, free: 3.426 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.3214, allocations: 0 / 0.5081 GB, free: 3.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.007841/0.3292, allocations: 6.719 MB / 0.5147 GB, free: 12.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3292, allocations: 9.25 kB / 0.5147 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.3293, allocations: 4.219 kB / 0.5147 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.3308, allocations: 0.9299 MB / 0.5156 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.3338, allocations: 1.521 MB / 0.5171 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/0.3409, allocations: 6.488 MB / 0.5234 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/0.3442, allocations: 0.4892 MB / 0.5239 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.3444, allocations: 252 kB / 0.5241 GB, free: 2.832 MB / 426.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.00105/0.3455, allocations: 0.6682 MB / 0.5248 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/0.3459, allocations: 333.9 kB / 0.5251 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.3491, allocations: 2.637 MB / 0.5277 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.3492, allocations: 24 kB / 0.5277 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3492, allocations: 7.938 kB / 0.5277 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.3492, allocations: 11.95 kB / 0.5277 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005032/0.3542, allocations: 4.516 MB / 0.5321 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3542, allocations: 3.938 kB / 0.5321 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.3549, allocations: 319.6 kB / 0.5324 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.3562, allocations: 0.7424 MB / 0.5331 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.3563, allocations: 44 kB / 0.5332 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006686/0.3629, allocations: 6.263 MB / 0.5393 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3629, allocations: 0 / 0.5393 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/0.3666, allocations: 2.721 MB / 0.542 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.3678, allocations: 0.6186 MB / 0.5426 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.368, allocations: 40 kB / 0.5426 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.3691, allocations: 107.9 kB / 0.5427 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.3693, allocations: 169.6 kB / 0.5429 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.3694, allocations: 75.97 kB / 0.5429 GB, free: 15.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001601/0.371, allocations: 1.603 MB / 0.5445 GB, free: 13.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 0.5445 GB, free: 13.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002928/0.3739, allocations: 1.613 MB / 0.5461 GB, free: 12.09 MB / 458.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.0004174/0.3744, allocations: 296.1 kB / 0.5464 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005491/0.3799, allocations: 4.256 MB / 0.5505 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3799, allocations: 0.8125 kB / 0.5505 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.3818, allocations: 1.393 MB / 0.5519 GB, free: 6.109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.383, allocations: 259.5 kB / 0.5521 GB, free: 5.863 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.3882, allocations: 4.65 MB / 0.5567 GB, free: 1.176 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.389, allocations: 1.179 MB / 0.5578 GB, free: 15.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008346/0.3898, allocations: 276.5 kB / 0.5581 GB, free: 15.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3898, allocations: 0 / 0.5581 GB, free: 15.69 MB / 474.7 MB Notification: Performance of Templates: time 0.2398/0.6297, allocations: 71.46 MB / 0.6279 GB, free: 137.3 MB / 490.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.907289340160787] Failed to read output from testmodel.py, exit status != 0: 0.6363809192553163 0.642735705 0.38801540799999995 Calling exit ...