Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.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.001801/0.001801, allocations: 100.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002034/0.002034, allocations: 220.4 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.08615/0.08615, allocations: 16.96 MB / 330.2 MB, free: 2.359 MB / 254.1 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.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.91 kB / 461.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 57.75 MB / 0.5068 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.2881/0.4242, allocations: 29.07 MB / 0.5352 GB, free: 116 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.4401, allocations: 7.863 MB / 0.5429 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004733/0.4449, allocations: 84.28 kB / 0.543 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004783/0.4497, allocations: 1.105 MB / 0.5441 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.4628, allocations: 3.603 MB / 0.5476 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.4679, allocations: 1.617 MB / 0.5492 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01331/0.4812, allocations: 6.553 MB / 0.5556 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003908/0.4851, allocations: 1.564 MB / 0.5571 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.4906, allocations: 2.285 MB / 0.5593 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005705/0.4963, allocations: 2.337 MB / 0.5616 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.4974, allocations: 299.5 kB / 0.5619 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.501, allocations: 0.838 MB / 0.5627 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007271/0.5017, allocations: 0.6902 MB / 0.5634 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003464/0.5052, allocations: 1.704 MB / 0.565 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.5133, allocations: 5.37 MB / 0.5703 GB, free: 8.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5133, allocations: 1.25 kB / 0.5703 GB, free: 8.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5133, allocations: 0 / 0.5703 GB, free: 8.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001209/0.5135, allocations: 0 / 0.5703 GB, free: 8.871 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.02066/0.5341, allocations: 5.239 MB / 0.5754 GB, free: 4.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.5342, allocations: 11.97 kB / 0.5754 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/0.5402, allocations: 0.9081 MB / 0.5763 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006503/0.5467, allocations: 2.237 MB / 0.5785 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.5469, allocations: 201 kB / 0.5787 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005356/0.5475, allocations: 260 kB / 0.5789 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006468/0.5539, allocations: 3.352 MB / 0.5822 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/0.554, allocations: 11.88 kB / 0.5822 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.5543, allocations: 112 kB / 0.5823 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.267e-05/0.5544, allocations: 64 kB / 0.5824 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/0.559, allocations: 2.311 MB / 0.5846 GB, free: 10.14 MB / 430.1 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.02832/0.5873, allocations: 15.64 MB / 0.5999 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004359/0.5916, allocations: 1.96 MB / 0.6018 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.593, allocations: 0.7579 MB / 0.6026 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.5932, allocations: 29.98 kB / 0.6026 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.759e-05/0.5932, allocations: 64.56 kB / 0.6026 GB, free: 7.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=227): time 7.624e-06/0.5932, allocations: 0 / 0.6026 GB, free: 7.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=227): time 0.0137/0.6069, allocations: 4.01 MB / 0.6066 GB, free: 3.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.607, allocations: 99.11 kB / 0.6067 GB, free: 3.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/0.612, allocations: 2.442 MB / 0.609 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005267/0.6125, allocations: 69.7 kB / 0.6091 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.614, allocations: 1.354 MB / 0.6104 GB, free: 15.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/0.6156, allocations: 0.938 MB / 0.6113 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/0.6181, allocations: 1.23 MB / 0.6125 GB, free: 12.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6183, allocations: 305.1 kB / 0.6128 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/0.6221, allocations: 1.786 MB / 0.6146 GB, free: 10.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/0.6267, allocations: 2.44 MB / 0.617 GB, free: 8.336 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006881/0.6336, allocations: 3.513 MB / 0.6204 GB, free: 4.684 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.625e-05/0.6336, allocations: 4 kB / 0.6204 GB, free: 4.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.01638/0.65, allocations: 6.038 MB / 0.6263 GB, free: 14.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.6501, allocations: 8 kB / 0.6263 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/0.6501, allocations: 12 kB / 0.6263 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006738/0.6568, allocations: 1.091 MB / 0.6274 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006876/0.6637, allocations: 1.322 MB / 0.6287 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/0.6811, allocations: 10.18 MB / 0.6386 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00644/0.6875, allocations: 421.4 kB / 0.639 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.6885, allocations: 216 kB / 0.6392 GB, free: 0.9336 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 5 (infiniteBus.componentPF.isSlackBus,bus.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GEN.componentPF.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (827): * Single equations (assignments): 823 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003639/0.6922, allocations: 0.6835 MB / 0.6399 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/0.6939, allocations: 302.2 kB / 0.6402 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008165/0.702, allocations: 2.344 MB / 0.6425 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/0.7021, allocations: 11.95 kB / 0.6425 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.7021, allocations: 3.938 kB / 0.6425 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003751/0.7058, allocations: 0.5796 MB / 0.643 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/0.7074, allocations: 36 kB / 0.6431 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/0.7116, allocations: 91.95 kB / 0.6432 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/0.7122, allocations: 177.6 kB / 0.6433 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01012/0.7223, allocations: 2.412 MB / 0.6457 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008893/0.7312, allocations: 2.836 MB / 0.6485 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002203/0.7334, allocations: 0.6559 MB / 0.6491 GB, free: 6.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005072/0.7385, allocations: 1.48 MB / 0.6505 GB, free: 5.258 MB / 494.1 MB Notification: Performance of Backend: time 1.052e-06/0.7385, allocations: 0 / 0.6505 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02045/0.7589, allocations: 4.454 MB / 0.6549 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of SimCode: time 0.01901/0.7779, allocations: 5.508 MB / 0.6603 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.156/0.9339, allocations: 51.99 MB / 0.7111 GB, free: 7.48 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.816823314060457] Failed to read output from testmodel.py, exit status != 0: 0.9442225910024717 0.961357712 0.443145865 Calling exit ...