Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 119.4 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 188.3 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.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.2911/0.2911, allocations: 38 MB / 337.2 MB, free: 12.89 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 68.5 kB / 467.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09869, allocations: 58.07 MB / 0.5133 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01355/0.1123, allocations: 10.59 MB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1236, allocations: 6.234 MB / 0.5297 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.1249, allocations: 47.75 kB / 0.5298 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0128/0.1377, allocations: 5.511 MB / 0.5351 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.141, allocations: 1.077 MB / 0.5362 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.143, allocations: 0.6433 MB / 0.5368 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005208/0.1482, allocations: 3.212 MB / 0.54 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.1499, allocations: 1.004 MB / 0.5409 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.1521, allocations: 1.07 MB / 0.542 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/0.1545, allocations: 1.339 MB / 0.5433 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003328/0.1549, allocations: 144 kB / 0.5434 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.156, allocations: 427.5 kB / 0.5438 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009356/0.1569, allocations: 0.8534 MB / 0.5447 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.1581, allocations: 0.9252 MB / 0.5456 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.1612, allocations: 2.269 MB / 0.5478 GB, free: 6.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1612, allocations: 0 / 0.5478 GB, free: 6.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1612, allocations: 0 / 0.5478 GB, free: 6.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.371e-05/0.1613, allocations: 4 kB / 0.5478 GB, free: 6.23 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004626/0.1659, allocations: 2.104 MB / 0.5498 GB, free: 4.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1659, allocations: 15.89 kB / 0.5499 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.1675, allocations: 291.5 kB / 0.5501 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.1702, allocations: 1.218 MB / 0.5513 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.1703, allocations: 102.6 kB / 0.5514 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005297/0.1709, allocations: 227.8 kB / 0.5516 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/0.1744, allocations: 2.107 MB / 0.5537 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.1744, allocations: 4 kB / 0.5537 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.1746, allocations: 55.97 kB / 0.5538 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006846/0.1753, allocations: 186.6 kB / 0.5539 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.1783, allocations: 1.713 MB / 0.5556 GB, free: 14 MB / 430.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.01182/0.1902, allocations: 7.92 MB / 0.5633 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.1927, allocations: 1.622 MB / 0.5649 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.1938, allocations: 0.6645 MB / 0.5656 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.1939, allocations: 16.98 kB / 0.5656 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.1939, allocations: 51.55 kB / 0.5656 GB, free: 3.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.407e-06/0.1939, allocations: 0 / 0.5656 GB, free: 3.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.009884/0.2038, allocations: 5.128 MB / 0.5707 GB, free: 13.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.204, allocations: 94.42 kB / 0.5707 GB, free: 13.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.2052, allocations: 0.9387 MB / 0.5717 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.2053, allocations: 49.7 kB / 0.5717 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.2059, allocations: 0.7425 MB / 0.5724 GB, free: 12.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.2064, allocations: 0.523 MB / 0.5729 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/0.2069, allocations: 303.5 kB / 0.5732 GB, free: 11.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.207, allocations: 309.1 kB / 0.5735 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.2082, allocations: 0.7027 MB / 0.5742 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.2098, allocations: 1.151 MB / 0.5753 GB, free: 8.93 MB / 446.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.2204, allocations: 4.074 MB / 0.5793 GB, free: 4.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/0.2204, allocations: 4 kB / 0.5793 GB, free: 4.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007985/0.2284, allocations: 3.363 MB / 0.5826 GB, free: 1.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.2285, allocations: 15.94 kB / 0.5826 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.2286, allocations: 15.94 kB / 0.5826 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.2319, allocations: 1.197 MB / 0.5838 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2418/0.4737, allocations: 295.5 kB / 0.5841 GB, free: 65.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.4928, allocations: 15.15 MB / 0.5989 GB, free: 57.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.4941, allocations: 76.12 kB / 0.5989 GB, free: 57.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.4943, allocations: 74.62 kB / 0.599 GB, free: 57.33 MB / 446.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,1,100.0%), (1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0008791/0.4951, allocations: 0.4916 MB / 0.5995 GB, free: 57.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.4954, allocations: 137.7 kB / 0.5996 GB, free: 57.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.4987, allocations: 2.024 MB / 0.6016 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4987, allocations: 13.97 kB / 0.6016 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4987, allocations: 3.688 kB / 0.6016 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.4987, allocations: 7.219 kB / 0.6016 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.5047, allocations: 3.756 MB / 0.6053 GB, free: 54.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.5047, allocations: 5.125 kB / 0.6053 GB, free: 54.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.5063, allocations: 334.2 kB / 0.6056 GB, free: 54.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/0.5069, allocations: 181.2 kB / 0.6058 GB, free: 54.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.507, allocations: 51.95 kB / 0.6058 GB, free: 54.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/0.512, allocations: 6.668 MB / 0.6124 GB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5121, allocations: 8.094 kB / 0.6124 GB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.5159, allocations: 2.714 MB / 0.615 GB, free: 46.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/0.5165, allocations: 326.7 kB / 0.6153 GB, free: 46.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.5167, allocations: 54.22 kB / 0.6154 GB, free: 46.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/0.5175, allocations: 58.62 kB / 0.6154 GB, free: 46.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.5177, allocations: 101.1 kB / 0.6155 GB, free: 46.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.457e-05/0.5178, allocations: 40.75 kB / 0.6156 GB, free: 46.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008782/0.5187, allocations: 0.6286 MB / 0.6162 GB, free: 46.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5187, allocations: 0 / 0.6162 GB, free: 46.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001899/0.5206, allocations: 489.1 kB / 0.6167 GB, free: 46.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.5208, allocations: 156.1 kB / 0.6168 GB, free: 46.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004441/0.5253, allocations: 2.736 MB / 0.6195 GB, free: 44.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.5253, allocations: 0 / 0.6195 GB, free: 44.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.527, allocations: 1.231 MB / 0.6207 GB, free: 43.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.5288, allocations: 329.4 kB / 0.621 GB, free: 43.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.5358, allocations: 5.086 MB / 0.626 GB, free: 38.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5369, allocations: 1.521 MB / 0.6274 GB, free: 37.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.5374, allocations: 103.4 kB / 0.6275 GB, free: 36.96 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5375, allocations: 0 / 0.6275 GB, free: 36.96 MB / 446.1 MB Notification: Performance of Templates: time 0.04385/0.5813, allocations: 43.15 MB / 0.6697 GB, free: 9.82 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.556167841074057] Failed to read output from testmodel.py, exit status != 0: 0.5882495059631765 0.6023303720000001 0.43846735200000003 Calling exit ...