Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.001899/0.001899, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002544/0.002544, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.611/1.611, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.19/0.19, allocations: 38.55 MB / 352.5 MB, free: 12.31 MB / 286.1 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.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 72.17 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3934, allocations: 62.47 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01102/0.4044, allocations: 7.243 MB / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.4157, allocations: 5.109 MB / 0.5545 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.4168, allocations: 34.12 kB / 0.5545 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01374/0.4305, allocations: 5.699 MB / 0.5601 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.4334, allocations: 0.6883 MB / 0.5608 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.435, allocations: 470.8 kB / 0.5612 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004168/0.4392, allocations: 2.292 MB / 0.5635 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.4406, allocations: 0.975 MB / 0.5644 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.4418, allocations: 0.6656 MB / 0.5651 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.443, allocations: 0.7512 MB / 0.5658 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.4432, allocations: 116 kB / 0.5659 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.4443, allocations: 439.5 kB / 0.5663 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.4449, allocations: 0.5065 MB / 0.5668 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.4455, allocations: 497.8 kB / 0.5673 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.448, allocations: 1.791 MB / 0.569 GB, free: 8.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.448, allocations: 3.938 kB / 0.569 GB, free: 8.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.448, allocations: 0 / 0.569 GB, free: 8.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.448, allocations: 0 / 0.569 GB, free: 8.883 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003227/0.4513, allocations: 1.404 MB / 0.5704 GB, free: 7.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4513, allocations: 15.92 kB / 0.5704 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/0.4522, allocations: 172.1 kB / 0.5706 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.4543, allocations: 0.9003 MB / 0.5715 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.149e-05/0.4544, allocations: 62 kB / 0.5715 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.4546, allocations: 95.92 kB / 0.5716 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.4565, allocations: 1.092 MB / 0.5727 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.4565, allocations: 4 kB / 0.5727 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.4566, allocations: 31.94 kB / 0.5727 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.4568, allocations: 77.89 kB / 0.5728 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.4583, allocations: 0.8314 MB / 0.5736 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006295/0.4646, allocations: 3.514 MB / 0.577 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.4657, allocations: 0.5149 MB / 0.5775 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.4662, allocations: 291.1 kB / 0.5778 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.4662, allocations: 8.5 kB / 0.5778 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.4663, allocations: 43 kB / 0.5779 GB, free: 15.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.806e-06/0.4663, allocations: 4 kB / 0.5779 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005066/0.4713, allocations: 2.381 MB / 0.5802 GB, free: 13.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.4714, allocations: 111.5 kB / 0.5803 GB, free: 12.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009875/0.4724, allocations: 0.68 MB / 0.581 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.4725, allocations: 33.7 kB / 0.581 GB, free: 12.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.4729, allocations: 0.4884 MB / 0.5815 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.4731, allocations: 249.9 kB / 0.5817 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.4734, allocations: 146.6 kB / 0.5819 GB, free: 11.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.4736, allocations: 398.7 kB / 0.5822 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.4741, allocations: 305.8 kB / 0.5825 GB, free: 10.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.4749, allocations: 0.5362 MB / 0.5831 GB, free: 10.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00399/0.4789, allocations: 1.601 MB / 0.5846 GB, free: 8.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4789, allocations: 4 kB / 0.5846 GB, free: 8.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00252/0.4814, allocations: 1.256 MB / 0.5858 GB, free: 7.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4815, allocations: 10.81 kB / 0.5859 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.4815, allocations: 7.938 kB / 0.5859 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4826, allocations: 418.3 kB / 0.5863 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.4831, allocations: 147.7 kB / 0.5864 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008638/0.4918, allocations: 5.81 MB / 0.5921 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/0.4925, allocations: 28 kB / 0.5921 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/0.4926, allocations: 31.98 kB / 0.5921 GB, free: 456 kB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007377/0.4933, allocations: 361.5 kB / 0.5925 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.4935, allocations: 83.53 kB / 0.5926 GB, free: 0 / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.4953, allocations: 0.89 MB / 0.5934 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4953, allocations: 7.938 kB / 0.5934 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4953, allocations: 4 kB / 0.5934 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4953, allocations: 3.984 kB / 0.5934 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.499, allocations: 1.697 MB / 0.5951 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.499, allocations: 0 / 0.5951 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.4997, allocations: 115.9 kB / 0.5952 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005894/0.5003, allocations: 190.4 kB / 0.5954 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.5003, allocations: 31.86 kB / 0.5954 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005024/0.5053, allocations: 5.07 MB / 0.6004 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.5053, allocations: 4.031 kB / 0.6004 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.5075, allocations: 1.266 MB / 0.6016 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.5079, allocations: 127.4 kB / 0.6017 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.508, allocations: 23.98 kB / 0.6018 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.5084, allocations: 16.06 kB / 0.6018 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5085, allocations: 60.39 kB / 0.6018 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.5085, allocations: 23.92 kB / 0.6019 GB, free: 6.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006894/0.5092, allocations: 483 kB / 0.6023 GB, free: 5.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5092, allocations: 0 / 0.6023 GB, free: 5.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00114/0.5104, allocations: 259.9 kB / 0.6026 GB, free: 5.309 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001782/0.5121, allocations: 0.5081 MB / 0.6031 GB, free: 4.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.5143, allocations: 1.107 MB / 0.6041 GB, free: 3.852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5143, allocations: 320 / 0.6041 GB, free: 3.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5154, allocations: 0.7017 MB / 0.6048 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.5163, allocations: 159.7 kB / 0.605 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.5205, allocations: 2.545 MB / 0.6075 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/0.5212, allocations: 0.548 MB / 0.608 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005005/0.5217, allocations: 162.3 kB / 0.6082 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.5219, allocations: 55.44 kB / 0.6082 GB, free: 15.57 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5219, allocations: 0 / 0.6082 GB, free: 15.57 MB / 462.1 MB Notification: Performance of Templates: time 0.02455/0.5464, allocations: 13.39 MB / 0.6213 GB, free: 2.324 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.940072802826762] Failed to read output from testmodel.py, exit status != 0: 0.555397342890501 0.5705251419999999 0.11918041 Calling exit ...