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.0007373/0.0007373, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0007387/0.0007387, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8325/0.8325, 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.04449/0.04449, allocations: 12.52 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.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 2.024e-06/2.024e-06, allocations: 0 / 402.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.738e-05, allocations: 2.281 kB / 402.9 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.1354/0.1355, allocations: 9.445 MB / 412.3 MB, free: 16.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.1392, allocations: 3.55 MB / 415.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.1395, allocations: 32.03 kB / 415.9 MB, free: 16.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.1402, allocations: 308.9 kB / 416.2 MB, free: 16.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.1414, allocations: 1.144 MB / 417.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1418, allocations: 277 kB / 417.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007926/0.1425, allocations: 1.26 MB / 418.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.1428, allocations: 274.1 kB / 419.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.1433, allocations: 0.5939 MB / 419.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.1436, allocations: 344.3 kB / 420.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.1437, allocations: 47.81 kB / 420.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.144, allocations: 260.5 kB / 420.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.1441, allocations: 129.1 kB / 420.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.1442, allocations: 260.2 kB / 420.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.145, allocations: 0.9785 MB / 421.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.145, allocations: 1.219 kB / 421.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.145, allocations: 0 / 421.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.145, 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.001505/0.1465, allocations: 1.087 MB / 422.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1466, allocations: 13.19 kB / 422.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.1468, allocations: 98.94 kB / 422.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/0.1474, allocations: 0.4917 MB / 423.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1474, allocations: 31.94 kB / 423.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.1474, allocations: 48.41 kB / 423.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.1479, allocations: 0.6013 MB / 424.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1479, allocations: 5.062 kB / 424.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.1479, allocations: 21.88 kB / 424.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1479, allocations: 11.84 kB / 424.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.1483, allocations: 370 kB / 424.5 MB, free: 12.08 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.001966/0.1503, allocations: 2.752 MB / 427.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.1508, allocations: 310.9 kB / 427.5 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1509, allocations: 136.7 kB / 427.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1509, allocations: 9.953 kB / 427.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.151, allocations: 38.52 kB / 427.7 MB, free: 9.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.603e-06/0.151, allocations: 0 / 427.7 MB, free: 9.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.001495/0.1525, allocations: 0.7473 MB / 428.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.1525, allocations: 57.08 kB / 428.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.153, allocations: 0.5236 MB / 429 MB, free: 8.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.153, allocations: 37.2 kB / 429.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1531, allocations: 307.5 kB / 429.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.1532, allocations: 156.2 kB / 429.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.1534, allocations: 131.2 kB / 429.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.1535, allocations: 364.7 kB / 430 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1536, allocations: 150.9 kB / 430.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.1539, allocations: 424.5 kB / 430.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.1544, allocations: 0.5504 MB / 431.1 MB, free: 7.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1544, allocations: 2.406 kB / 431.1 MB, free: 7.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009196/0.1553, allocations: 0.7642 MB / 431.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1553, allocations: 11.91 kB / 431.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1553, allocations: 6.344 kB / 431.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.1564, allocations: 387.8 kB / 432.3 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1566, allocations: 135.4 kB / 432.4 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.1591, allocations: 4.787 MB / 437.2 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.1594, allocations: 73.08 kB / 437.3 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.1595, allocations: 32 kB / 437.3 MB, free: 2.648 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.0001401/0.1596, allocations: 206.5 kB / 437.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.1597, allocations: 59.03 kB / 437.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005815/0.1603, allocations: 498.1 kB / 438.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1603, allocations: 0 / 438.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1603, allocations: 3 kB / 438.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.1604, allocations: 106.6 kB / 438.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.1604, allocations: 9.75 kB / 438.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.1606, allocations: 24.64 kB / 438.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1607, allocations: 37.64 kB / 438.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000594/0.1613, allocations: 0.5309 MB / 438.8 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005143/0.1618, allocations: 0.6751 MB / 439.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001373/0.1619, allocations: 132.3 kB / 439.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.1622, allocations: 351.4 kB / 439.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of Backend: time 4e-07/0.1622, allocations: 0 / 439.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.1635, allocations: 0.9986 MB / 440.9 MB, free: 396 kB / 330.7 MB Notification: Performance of SimCode: time 0.00132/0.1648, allocations: 1.592 MB / 442.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of Templates: time 0.01179/0.1766, allocations: 10.47 MB / 453 MB, free: 6.988 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.794250939041376] Failed to read output from testmodel.py, exit status != 0: 0.1817150115966797 0.18900306 0.042403939 Calling exit ...