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.0007714/0.0007714, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007941/0.0007941, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8469/0.8469, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.04579/0.04579, allocations: 12.53 MB / 271.7 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.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: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 402.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.615e-05, allocations: 6.219 kB / 402.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.1489/0.1489, allocations: 26.44 MB / 429.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1594, allocations: 7.808 MB / 437.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.161, allocations: 83 kB / 437.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.1628, allocations: 1.092 MB / 438.3 MB, free: 2.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.1672, allocations: 3.613 MB / 441.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1692, allocations: 1.63 MB / 443.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00532/0.1745, allocations: 7.002 MB / 450.5 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.1759, allocations: 1.553 MB / 452.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.1789, allocations: 3.258 MB / 455.3 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.1807, allocations: 1.858 MB / 457.2 MB, free: 4.199 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.181, allocations: 296 kB / 457.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1822, allocations: 0.8157 MB / 458.3 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.1825, allocations: 0.6882 MB / 459 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.1835, allocations: 1.449 MB / 460.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.1871, allocations: 5.227 MB / 465.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1871, allocations: 0 / 465.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1871, allocations: 0 / 465.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.1871, allocations: 0 / 465.7 MB, free: 11.71 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: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.00778/0.1949, allocations: 5.074 MB / 470.7 MB, free: 6.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1949, allocations: 15.97 kB / 470.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.1974, allocations: 0.8569 MB / 471.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.2, allocations: 2.201 MB / 473.8 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/0.2001, allocations: 193.1 kB / 474 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.2003, allocations: 252.4 kB / 474.2 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.2029, allocations: 3.288 MB / 477.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.2029, allocations: 12.06 kB / 477.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.2031, allocations: 112.1 kB / 477.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.2031, allocations: 64 kB / 477.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.2056, allocations: 2.213 MB / 479.9 MB, free: 12.83 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.0117/0.2173, allocations: 15.46 MB / 495.4 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.2194, allocations: 1.72 MB / 497.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/0.2201, allocations: 0.6802 MB / 497.8 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/0.2202, allocations: 30.45 kB / 497.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2202, allocations: 64.5 kB / 497.9 MB, free: 10.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=202): time 4.008e-06/0.2202, allocations: 0 / 497.9 MB, free: 10.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=202): time 0.005077/0.2253, allocations: 3.181 MB / 0.4893 GB, free: 7.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2254, allocations: 99.11 kB / 0.4894 GB, free: 7.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.2275, allocations: 2.599 MB / 0.492 GB, free: 4.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.052e-05/0.2276, allocations: 73.7 kB / 0.492 GB, free: 4.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.2283, allocations: 1.411 MB / 0.4934 GB, free: 2.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/0.2288, allocations: 0.8372 MB / 0.4942 GB, free: 2.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.2299, allocations: 1.222 MB / 0.4954 GB, free: 0.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/0.2302, allocations: 301.1 kB / 0.4957 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.2321, allocations: 1.771 MB / 0.4974 GB, free: 14.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.2343, allocations: 2.424 MB / 0.4998 GB, free: 12.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/0.2378, allocations: 3.427 MB / 0.5031 GB, free: 8.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.2378, allocations: 0 / 0.5031 GB, free: 8.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.006194/0.244, allocations: 5.901 MB / 0.5089 GB, free: 2.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.244, allocations: 8 kB / 0.5089 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.2441, allocations: 8 kB / 0.5089 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.2466, allocations: 0.9352 MB / 0.5098 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.2492, allocations: 1.326 MB / 0.5111 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/0.2564, allocations: 9.04 MB / 0.52 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.2586, allocations: 437.3 kB / 0.5204 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.2588, allocations: 216 kB / 0.5206 GB, free: 6.371 MB / 426.7 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 (836): * Single equations (assignments): 832 * 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 {(21,0), (22,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0008238/0.2596, allocations: 0.6766 MB / 0.5212 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.2599, allocations: 298.3 kB / 0.5215 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.2625, allocations: 2.079 MB / 0.5236 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.2625, allocations: 7.969 kB / 0.5236 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2625, allocations: 0 / 0.5236 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/0.2633, allocations: 0.564 MB / 0.5241 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.2635, allocations: 39.98 kB / 0.5242 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.2644, allocations: 87.89 kB / 0.5242 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.2646, allocations: 157.6 kB / 0.5244 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002496/0.2671, allocations: 2.067 MB / 0.5264 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002425/0.2695, allocations: 2.611 MB / 0.529 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006348/0.2701, allocations: 0.5935 MB / 0.5295 GB, free: 13.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001687/0.2718, allocations: 1.544 MB / 0.531 GB, free: 11.59 MB / 442.7 MB Notification: Performance of Backend: time 2.91e-07/0.2718, allocations: 3.938 kB / 0.531 GB, free: 11.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005104/0.2769, allocations: 4.197 MB / 0.5351 GB, free: 7.336 MB / 442.7 MB Notification: Performance of SimCode: time 0.00488/0.2818, allocations: 5.16 MB / 0.5402 GB, free: 2.141 MB / 442.7 MB Notification: Performance of Templates: time 0.04719/0.329, allocations: 46.42 MB / 0.5855 GB, free: 4.031 MB / 490.7 MB " [Timeout remaining time 660] 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: 4.040278421714902] Failed to read output from testmodel.py, exit status != 0: 0.33449932653456926 0.46695048400000005 0.278183878 Calling exit ...