Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.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.0009329/0.0009329, 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.0009903/0.0009903, allocations: 169.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.8213/0.8213, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.04422/0.04422, allocations: 12.52 MB / 271.7 MB, free: 1.117 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.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 402.9 MB, free: 9.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.176e-05, allocations: 2.281 kB / 402.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.1433/0.1433, allocations: 9.452 MB / 412.3 MB, free: 16.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.1473, allocations: 3.544 MB / 415.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.1477, allocations: 31.53 kB / 415.9 MB, free: 16.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.1483, allocations: 306.9 kB / 416.2 MB, free: 16.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1496, allocations: 1.146 MB / 417.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.1499, allocations: 275.2 kB / 417.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.1507, allocations: 1.255 MB / 418.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.151, allocations: 277.9 kB / 419.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.1515, allocations: 0.5919 MB / 419.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.1518, allocations: 344.8 kB / 420 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.1519, allocations: 46.75 kB / 420.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.1522, allocations: 262.7 kB / 420.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.1523, allocations: 129.3 kB / 420.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.1525, allocations: 263.4 kB / 420.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008216/0.1533, allocations: 0.9739 MB / 421.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1533, allocations: 1.219 kB / 421.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1533, allocations: 0 / 421.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1533, allocations: 0 / 421.7 MB, free: 13.73 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001563/0.1549, allocations: 1.091 MB / 422.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1549, allocations: 16.5 kB / 422.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.1551, allocations: 99.3 kB / 422.9 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.1557, allocations: 0.4906 MB / 423.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.1558, allocations: 32.5 kB / 423.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.1558, allocations: 47.53 kB / 423.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.1563, allocations: 0.6046 MB / 424.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1563, allocations: 1.469 kB / 424.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1563, allocations: 21.64 kB / 424.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1563, allocations: 11.03 kB / 424.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.1568, allocations: 376.8 kB / 424.5 MB, free: 12.06 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.001734/0.1585, allocations: 2.745 MB / 427.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.1589, allocations: 310.7 kB / 427.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.159, allocations: 134 kB / 427.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1591, allocations: 10.38 kB / 427.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.1591, allocations: 37.19 kB / 427.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.763e-06/0.1591, allocations: 1.094 kB / 427.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.001348/0.1604, allocations: 0.7486 MB / 428.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.573e-05/0.1604, allocations: 55.73 kB / 428.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.1609, allocations: 0.5262 MB / 429 MB, free: 8.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1609, allocations: 43.52 kB / 429.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.161, allocations: 304.1 kB / 429.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.1611, allocations: 155.5 kB / 429.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1612, allocations: 130.2 kB / 429.7 MB, free: 8.492 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.1613, allocations: 365.5 kB / 430 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.1615, allocations: 150.9 kB / 430.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.1617, allocations: 428.2 kB / 430.6 MB, free: 7.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.1621, allocations: 0.5506 MB / 431.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1621, allocations: 3.281 kB / 431.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009146/0.163, allocations: 0.7616 MB / 431.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1631, allocations: 10.91 kB / 431.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.1631, allocations: 6.938 kB / 431.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.1641, allocations: 386.5 kB / 432.3 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1644, allocations: 134 kB / 432.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.167, allocations: 4.79 MB / 437.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.1673, allocations: 73.55 kB / 437.3 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.1673, allocations: 30.36 kB / 437.3 MB, free: 2.633 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (bus.isSlackBusPF,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.1674, allocations: 205.2 kB / 437.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.1675, allocations: 60.47 kB / 437.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.1681, allocations: 493.2 kB / 438.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1681, allocations: 7.828 kB / 438.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1681, allocations: 5.281 kB / 438.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.1682, allocations: 101.8 kB / 438.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1683, allocations: 8.812 kB / 438.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1684, allocations: 24.97 kB / 438.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.1685, allocations: 35.33 kB / 438.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006023/0.1691, allocations: 0.5263 MB / 438.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005074/0.1696, allocations: 0.6839 MB / 439.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00013/0.1697, allocations: 128.6 kB / 439.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002458/0.17, allocations: 350.8 kB / 439.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of Backend: time 2.4e-07/0.17, allocations: 0 / 439.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1712, allocations: 0.9959 MB / 440.9 MB, free: 372 kB / 330.7 MB Notification: Performance of SimCode: time 0.001301/0.1725, allocations: 1.597 MB / 442.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Templates: time 0.01181/0.1843, allocations: 10.46 MB / 453 MB, free: 6.961 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 2.8935827733948827] Failed to read output from testmodel.py, exit status != 0: 0.18979530036449432 0.197796893 0.042814751000000005 Calling exit ...