Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001034/0.001034, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001132/0.001132, allocations: 174.3 kB / 24.91 MB, free: 8.766 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 1.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2451/0.2451, allocations: 29.42 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.601e-05, allocations: 5.016 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006264/0.00629, allocations: 6.534 MB / 323.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004273/0.01056, allocations: 2.984 MB / 326.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006427/0.01121, allocations: 35.69 kB / 326.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008843/0.01209, allocations: 282.1 kB / 326.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.01356, allocations: 0.7109 MB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.01441, allocations: 390.8 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.01597, allocations: 1.392 MB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.01675, allocations: 0.5919 MB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.01782, allocations: 0.8066 MB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009232/0.01874, allocations: 0.5766 MB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.01884, allocations: 72 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.01952, allocations: 403.1 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.01988, allocations: 478.8 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.02026, allocations: 355.2 kB / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.02139, allocations: 0.9343 MB / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.0214, allocations: 0 / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0214, allocations: 0 / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.02142, allocations: 0 / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00143/0.02285, allocations: 1.148 MB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.02289, allocations: 11.98 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.02362, allocations: 228.7 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.02438, allocations: 0.5594 MB / 335.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.02442, allocations: 62.36 kB / 335.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.02458, allocations: 108.6 kB / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007135/0.0253, allocations: 0.6687 MB / 336.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.02532, allocations: 0 / 336.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.02537, allocations: 35.98 kB / 336.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.02547, allocations: 69.95 kB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.02587, allocations: 285.6 kB / 336.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.02879, allocations: 3.017 MB / 339.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.02908, allocations: 214.7 kB / 339.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.02919, allocations: 109 kB / 339.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.02923, allocations: 8.5 kB / 339.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.02925, allocations: 43.06 kB / 339.9 MB, free: 8.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/0.02926, allocations: 0 / 339.9 MB, free: 8.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001239/0.0305, allocations: 0.795 MB / 340.7 MB, free: 7.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.03054, allocations: 89.67 kB / 340.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.03083, allocations: 474.9 kB / 341.3 MB, free: 7.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.03086, allocations: 37.7 kB / 341.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.03104, allocations: 428.9 kB / 341.7 MB, free: 6.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.03115, allocations: 198.3 kB / 341.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.03128, allocations: 134.5 kB / 342.1 MB, free: 6.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.0314, allocations: 374.6 kB / 342.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.0315, allocations: 69.97 kB / 342.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.03169, allocations: 300.9 kB / 342.8 MB, free: 5.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.03209, allocations: 457 kB / 343.2 MB, free: 4.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.0321, allocations: 7.938 kB / 343.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007875/0.03289, allocations: 0.5541 MB / 343.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.03291, allocations: 12.03 kB / 343.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004359/0.03334, allocations: 316.5 kB / 344.1 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.03375, allocations: 178.8 kB / 344.3 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.03411, allocations: 163.8 kB / 344.4 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.03684, allocations: 4.094 MB / 348.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.03715, allocations: 20 kB / 348.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.03718, allocations: 31.98 kB / 348.6 MB, free: 15.24 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.0374, allocations: 152.5 kB / 348.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.03747, allocations: 55.83 kB / 348.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.03781, allocations: 325 kB / 349.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.03782, allocations: 4 kB / 349.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.03782, allocations: 4 kB / 349.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.03783, allocations: 7.984 kB / 349.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.03886, allocations: 0.8246 MB / 350 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.03887, allocations: 4 kB / 350 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.03926, allocations: 148 kB / 350.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.03927, allocations: 4 kB / 350.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.03929, allocations: 16 kB / 350.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.0393, allocations: 7.922 kB / 350.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.0393, allocations: 4 kB / 350.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.03975, allocations: 0.5328 MB / 350.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.03986, allocations: 83.53 kB / 350.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.03991, allocations: 23.88 kB / 350.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.04004, allocations: 12 kB / 350.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.04009, allocations: 40.36 kB / 350.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.0401, allocations: 8 kB / 350.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.04025, allocations: 200.4 kB / 351 MB, free: 12.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04025, allocations: 0 / 351 MB, free: 12.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005864/0.04084, allocations: 208 kB / 351.2 MB, free: 12.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.04096, allocations: 99.88 kB / 351.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.04177, allocations: 0.7401 MB / 352.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/0.04179, allocations: 8.5 kB / 352.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.04193, allocations: 136.6 kB / 352.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.0424, allocations: 165.4 kB / 352.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.04463, allocations: 1.569 MB / 353.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.04482, allocations: 246.8 kB / 354.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.04505, allocations: 89.55 kB / 354.3 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.0453, allocations: 173.3 kB / 354.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.04531, allocations: 0 / 354.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of Templates: time 0.01292/0.05823, allocations: 8.877 MB / 363.3 MB, free: 456 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.091344708111137]