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.001533/0.001533, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001653/0.001653, allocations: 163.8 kB / 22.46 MB, free: 5.359 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.363/1.363, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.07626/0.07626, allocations: 12.52 MB / 271.7 MB, free: 4.594 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.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.523e-06/1.523e-06, allocations: 0 / 402.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.375e-05, allocations: 2.281 kB / 402.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.01284/0.01287, allocations: 9.466 MB / 412.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006071/0.01894, allocations: 3.554 MB / 415.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007791/0.01972, allocations: 31.75 kB / 415.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.0207, allocations: 290.1 kB / 416.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.0233, allocations: 1.149 MB / 417.3 MB, free: 340 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.02399, allocations: 273 kB / 417.6 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.02559, allocations: 1.259 MB / 418.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005129/0.0261, allocations: 289.3 kB / 419.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.02702, allocations: 0.5883 MB / 419.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.02759, allocations: 346.9 kB / 420.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.0277, allocations: 48 kB / 420.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.02823, allocations: 259.6 kB / 420.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.02836, allocations: 123.4 kB / 420.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.02873, allocations: 263.2 kB / 420.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.03001, allocations: 0.9735 MB / 421.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.03001, allocations: 0 / 421.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03001, allocations: 8 kB / 421.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.03003, allocations: 0 / 421.7 MB, free: 11.92 MB / 350.1 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.003047/0.03307, allocations: 1.092 MB / 422.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.03312, allocations: 8.031 kB / 422.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.03353, allocations: 100.5 kB / 422.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.03455, allocations: 0.4895 MB / 423.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.03459, allocations: 37.38 kB / 423.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.991e-05/0.03467, allocations: 52.38 kB / 423.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.03554, allocations: 0.6019 MB / 424.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.03555, allocations: 3.938 kB / 424.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.03559, allocations: 16 kB / 424.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.03561, allocations: 12 kB / 424.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.03628, allocations: 375.5 kB / 424.5 MB, free: 9 MB / 350.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.003745/0.04002, allocations: 2.75 MB / 427.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.04067, allocations: 318.9 kB / 427.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.04091, allocations: 140.6 kB / 427.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.04095, allocations: 4 kB / 427.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.04098, allocations: 38.56 kB / 427.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.04098, allocations: 0 / 427.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00242/0.0434, allocations: 0.7396 MB / 428.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.04344, allocations: 55.41 kB / 428.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.0441, allocations: 0.5222 MB / 429 MB, free: 4.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.04415, allocations: 37.7 kB / 429.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.04441, allocations: 313 kB / 429.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.04456, allocations: 150.7 kB / 429.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.04473, allocations: 130.2 kB / 429.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.04493, allocations: 366.8 kB / 430 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.04522, allocations: 153.2 kB / 430.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.04574, allocations: 425.5 kB / 430.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/0.04656, allocations: 0.5529 MB / 431.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.04657, allocations: 7.938 kB / 431.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001699/0.04827, allocations: 0.7568 MB / 431.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.04828, allocations: 8.656 kB / 431.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.0483, allocations: 8 kB / 431.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/0.0506, allocations: 390.3 kB / 432.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.05104, allocations: 127.8 kB / 432.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.05696, allocations: 4.783 MB / 437.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/0.05755, allocations: 68.22 kB / 437.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.05761, allocations: 31.98 kB / 437.3 MB, free: 11.45 MB / 366.1 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.0002698/0.05788, allocations: 197.6 kB / 437.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.05799, allocations: 63.62 kB / 437.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.05909, allocations: 0.4962 MB / 438.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.0591, allocations: 48 / 438.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.0591, allocations: 7.922 kB / 438.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.05932, allocations: 99.5 kB / 438.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.05939, allocations: 8 kB / 438.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.05979, allocations: 27.92 kB / 438.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.05988, allocations: 39.91 kB / 438.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001264/0.06114, allocations: 0.529 MB / 438.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009745/0.06212, allocations: 0.68 MB / 439.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002242/0.06234, allocations: 124.4 kB / 439.6 MB, free: 9.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004337/0.06278, allocations: 354.9 kB / 439.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of Backend: time 4.51e-07/0.06278, allocations: 0 / 439.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.06496, allocations: 0.9814 MB / 440.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of SimCode: time 0.002059/0.06702, allocations: 1.605 MB / 442.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of Templates: time 0.149/0.2161, allocations: 10.45 MB / 452.9 MB, free: 55.6 MB / 366.1 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.568682745099068] Failed to read output from testmodel.py, exit status != 0: 0.22501536086201668 0.23337976699999996 0.20123430299999995 Calling exit ...