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.001313/0.001313, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001697/0.001697, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.1827/0.1827, allocations: 38.54 MB / 353.2 MB, free: 12.53 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.002142/0.002142, allocations: 75.88 kB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 62.46 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009901/0.3386, allocations: 7.849 MB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009228/0.3478, allocations: 5.621 MB / 0.5564 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007618/0.3486, allocations: 37.41 kB / 0.5564 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.3609, allocations: 5.84 MB / 0.5621 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.3633, allocations: 0.6805 MB / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3645, allocations: 467.1 kB / 0.5632 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003349/0.3678, allocations: 2.296 MB / 0.5655 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.3693, allocations: 0.9867 MB / 0.5664 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.3705, allocations: 0.6656 MB / 0.5671 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.3719, allocations: 0.798 MB / 0.5679 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.3721, allocations: 116 kB / 0.568 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.3732, allocations: 467.4 kB / 0.5684 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006274/0.3738, allocations: 0.5142 MB / 0.5689 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008949/0.3747, allocations: 0.595 MB / 0.5695 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.3772, allocations: 1.783 MB / 0.5712 GB, free: 7.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3772, allocations: 8 kB / 0.5713 GB, free: 7.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3772, allocations: 0 / 0.5713 GB, free: 7.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.3772, allocations: 0 / 0.5713 GB, free: 7.668 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.002949/0.3801, allocations: 1.402 MB / 0.5726 GB, free: 6.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3802, allocations: 11.98 kB / 0.5726 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.381, allocations: 180.1 kB / 0.5728 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.383, allocations: 0.9042 MB / 0.5737 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.383, allocations: 58 kB / 0.5737 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.3832, allocations: 91.92 kB / 0.5738 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.3851, allocations: 1.067 MB / 0.5749 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.3851, allocations: 11.94 kB / 0.5749 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.3852, allocations: 27.98 kB / 0.5749 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.3854, allocations: 73.95 kB / 0.575 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.3871, allocations: 0.8314 MB / 0.5758 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006869/0.394, allocations: 3.903 MB / 0.5796 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3951, allocations: 0.5183 MB / 0.5801 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/0.3956, allocations: 291.1 kB / 0.5804 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.705e-05/0.3956, allocations: 8.828 kB / 0.5804 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.3957, allocations: 43 kB / 0.5804 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.946e-06/0.3957, allocations: 4 kB / 0.5804 GB, free: 13.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005174/0.4008, allocations: 2.386 MB / 0.5828 GB, free: 11.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.4009, allocations: 115.4 kB / 0.5829 GB, free: 11.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.402, allocations: 0.7075 MB / 0.5836 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4021, allocations: 37.7 kB / 0.5836 GB, free: 10.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.4025, allocations: 496.2 kB / 0.5841 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.4028, allocations: 249.8 kB / 0.5843 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.403, allocations: 154.6 kB / 0.5845 GB, free: 9.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.4032, allocations: 390.8 kB / 0.5848 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.4038, allocations: 309.9 kB / 0.5851 GB, free: 9.023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.4044, allocations: 0.5149 MB / 0.5856 GB, free: 8.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.4084, allocations: 1.597 MB / 0.5872 GB, free: 6.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4084, allocations: 4 kB / 0.5872 GB, free: 6.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002505/0.4109, allocations: 1.259 MB / 0.5884 GB, free: 5.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.4109, allocations: 18.73 kB / 0.5885 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.4109, allocations: 8 kB / 0.5885 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4121, allocations: 401.6 kB / 0.5888 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.4126, allocations: 151.7 kB / 0.589 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008541/0.4212, allocations: 6.036 MB / 0.5949 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.4218, allocations: 31.94 kB / 0.5949 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.4218, allocations: 32 kB / 0.5949 GB, free: 14.55 MB / 446.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.0006084/0.4225, allocations: 357.5 kB / 0.5953 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.4226, allocations: 83.48 kB / 0.5954 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.4244, allocations: 0.8941 MB / 0.5962 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4244, allocations: 8 kB / 0.5962 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4244, allocations: 4 kB / 0.5962 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4244, allocations: 0 / 0.5962 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.428, allocations: 1.992 MB / 0.5982 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.428, allocations: 3.938 kB / 0.5982 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.4286, allocations: 119.9 kB / 0.5983 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.4292, allocations: 194.5 kB / 0.5985 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.4292, allocations: 19.98 kB / 0.5985 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.4343, allocations: 5.174 MB / 0.6036 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4343, allocations: 0 / 0.6036 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.4364, allocations: 1.27 MB / 0.6048 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.4369, allocations: 143.3 kB / 0.6049 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.437, allocations: 16 kB / 0.605 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.4374, allocations: 19.98 kB / 0.605 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.4375, allocations: 52.34 kB / 0.605 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.4376, allocations: 16 kB / 0.605 GB, free: 3.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008059/0.4384, allocations: 0.5029 MB / 0.6055 GB, free: 3.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4384, allocations: 0 / 0.6055 GB, free: 3.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00119/0.4396, allocations: 263.9 kB / 0.6058 GB, free: 2.918 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.001717/0.4413, allocations: 476.8 kB / 0.6062 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.4437, allocations: 1.102 MB / 0.6073 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4437, allocations: 9.062 kB / 0.6073 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.4448, allocations: 0.6943 MB / 0.608 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4458, allocations: 186.8 kB / 0.6082 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.4505, allocations: 2.637 MB / 0.6108 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/0.4515, allocations: 1.146 MB / 0.6119 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.4517, allocations: 67.41 kB / 0.6119 GB, free: 12.63 MB / 462.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4517, allocations: 4 kB / 0.6119 GB, free: 12.62 MB / 462.1 MB Notification: Performance of Templates: time 0.03244/0.4841, allocations: 23.28 MB / 0.6347 GB, free: 5.355 MB / 478.1 MB " [Timeout remaining time 660] 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: 10.321374549064785] Failed to read output from testmodel.py, exit status != 0: 0.4940726470667869 0.508334324 0.127920012 Calling exit ...