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.001372/0.001372, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001518/0.001518, allocations: 209 kB / 24.48 MB, free: 3.938 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.188/0.188, allocations: 38.54 MB / 353.2 MB, free: 12.28 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.002141/0.002141, allocations: 67.91 kB / 493.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 62.47 MB / 0.5432 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.0106/0.3712, allocations: 7.247 MB / 0.5502 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3814, allocations: 5.109 MB / 0.5552 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.3827, allocations: 33.38 kB / 0.5553 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01356/0.3962, allocations: 5.704 MB / 0.5608 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.3986, allocations: 0.6844 MB / 0.5615 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.4, allocations: 474.7 kB / 0.562 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004223/0.4043, allocations: 2.292 MB / 0.5642 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.4058, allocations: 0.9672 MB / 0.5651 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.4071, allocations: 0.6656 MB / 0.5658 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.4085, allocations: 0.7512 MB / 0.5665 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.4087, allocations: 116 kB / 0.5666 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.4097, allocations: 439.5 kB / 0.5671 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.4103, allocations: 0.5103 MB / 0.5676 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.411, allocations: 0.494 MB / 0.568 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.4136, allocations: 1.779 MB / 0.5698 GB, free: 8.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4136, allocations: 4 kB / 0.5698 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4136, allocations: 0 / 0.5698 GB, free: 8.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.4136, allocations: 0 / 0.5698 GB, free: 8.895 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.00297/0.4166, allocations: 1.41 MB / 0.5712 GB, free: 7.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4166, allocations: 11.98 kB / 0.5712 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/0.4175, allocations: 180.1 kB / 0.5713 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.4196, allocations: 0.8925 MB / 0.5722 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.4197, allocations: 61.98 kB / 0.5723 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.4199, allocations: 99.92 kB / 0.5724 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.4216, allocations: 1.096 MB / 0.5734 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.4216, allocations: 3.984 kB / 0.5734 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.4217, allocations: 35.98 kB / 0.5735 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/0.4219, allocations: 73.95 kB / 0.5735 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.4234, allocations: 0.8275 MB / 0.5743 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006286/0.4296, allocations: 3.51 MB / 0.5778 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.4307, allocations: 0.5148 MB / 0.5783 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.4312, allocations: 288.6 kB / 0.5786 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.4313, allocations: 4.5 kB / 0.5786 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.4313, allocations: 50.94 kB / 0.5786 GB, free: 15.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.815e-06/0.4313, allocations: 0 / 0.5786 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.00525/0.4366, allocations: 2.378 MB / 0.5809 GB, free: 13.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.4367, allocations: 107.5 kB / 0.581 GB, free: 13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009874/0.4376, allocations: 0.6918 MB / 0.5817 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.4377, allocations: 33.7 kB / 0.5817 GB, free: 12.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.4382, allocations: 0.4923 MB / 0.5822 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.4384, allocations: 245.9 kB / 0.5825 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.4387, allocations: 150.6 kB / 0.5826 GB, free: 11.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003547/0.439, allocations: 394.7 kB / 0.583 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.4396, allocations: 301.8 kB / 0.5833 GB, free: 10.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/0.4403, allocations: 0.5439 MB / 0.5838 GB, free: 10.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.4442, allocations: 1.589 MB / 0.5853 GB, free: 8.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4442, allocations: 0 / 0.5853 GB, free: 8.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002534/0.4468, allocations: 1.263 MB / 0.5866 GB, free: 7.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4468, allocations: 8 kB / 0.5866 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4468, allocations: 7.938 kB / 0.5866 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.448, allocations: 414.4 kB / 0.587 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.4486, allocations: 147.8 kB / 0.5871 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008894/0.4575, allocations: 5.82 MB / 0.5928 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000762/0.4582, allocations: 27.98 kB / 0.5928 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.4583, allocations: 32 kB / 0.5929 GB, free: 464 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.0007368/0.459, allocations: 365.4 kB / 0.5932 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.4592, allocations: 83.44 kB / 0.5933 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.461, allocations: 0.886 MB / 0.5942 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.461, allocations: 8 kB / 0.5942 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.461, allocations: 7.984 kB / 0.5942 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4611, allocations: 0 / 0.5942 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.4646, allocations: 1.693 MB / 0.5958 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4646, allocations: 0 / 0.5958 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.4653, allocations: 120 kB / 0.5959 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/0.4659, allocations: 194.2 kB / 0.5961 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/0.4659, allocations: 31.92 kB / 0.5962 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005449/0.4714, allocations: 5.074 MB / 0.6011 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4714, allocations: 0 / 0.6011 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.4738, allocations: 1.266 MB / 0.6024 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.4742, allocations: 135.3 kB / 0.6025 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.4744, allocations: 24 kB / 0.6025 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.4748, allocations: 15.98 kB / 0.6025 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.4749, allocations: 60.41 kB / 0.6026 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.4749, allocations: 19.98 kB / 0.6026 GB, free: 6.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007788/0.4757, allocations: 479 kB / 0.6031 GB, free: 5.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4757, allocations: 112 / 0.6031 GB, free: 5.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001221/0.4769, allocations: 267.8 kB / 0.6033 GB, free: 5.305 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.001803/0.4787, allocations: 0.4892 MB / 0.6038 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.4811, allocations: 1.102 MB / 0.6049 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4811, allocations: 1.188 kB / 0.6049 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4822, allocations: 0.702 MB / 0.6056 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4832, allocations: 171.2 kB / 0.6057 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.4882, allocations: 2.626 MB / 0.6083 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.4891, allocations: 0.5363 MB / 0.6088 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.4893, allocations: 63.42 kB / 0.6089 GB, free: 15.66 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4893, allocations: 0 / 0.6089 GB, free: 15.66 MB / 462.1 MB Notification: Performance of Templates: time 0.03465/0.5239, allocations: 23.41 MB / 0.6317 GB, free: 8.242 MB / 478.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: 10.186030719894916] Failed to read output from testmodel.py, exit status != 0: 0.5339334509335458 0.5496750930000001 0.132602131 Calling exit ...