Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.001361/0.001361, 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.001445/0.001445, 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.558/1.558, allocations: 230.6 MB / 258.2 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1897/0.1897, allocations: 38.54 MB / 353.2 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 master/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.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") [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.002203/0.002203, allocations: 70.39 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3483, allocations: 62.46 MB / 0.5432 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01278/0.3611, allocations: 9.917 MB / 0.5528 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.3727, allocations: 5.745 MB / 0.5585 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.374, allocations: 63.25 kB / 0.5585 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.3879, allocations: 6.018 MB / 0.5644 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.3912, allocations: 1.093 MB / 0.5655 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.3934, allocations: 0.6706 MB / 0.5661 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005434/0.3988, allocations: 3.302 MB / 0.5693 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.4003, allocations: 0.8474 MB / 0.5702 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.4024, allocations: 1.101 MB / 0.5712 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.4048, allocations: 1.405 MB / 0.5726 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.4051, allocations: 144 kB / 0.5727 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.4062, allocations: 443.5 kB / 0.5732 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009249/0.4072, allocations: 0.8648 MB / 0.574 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.4082, allocations: 0.7699 MB / 0.5748 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.4111, allocations: 2.304 MB / 0.577 GB, free: 1.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4111, allocations: 3.938 kB / 0.577 GB, free: 1.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4111, allocations: 0 / 0.577 GB, free: 1.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.703e-05/0.4112, allocations: 0 / 0.577 GB, free: 1.406 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.004443/0.4156, allocations: 2.033 MB / 0.579 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4156, allocations: 11.98 kB / 0.579 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.4174, allocations: 331.5 kB / 0.5793 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/0.4208, allocations: 1.131 MB / 0.5804 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.4209, allocations: 102.6 kB / 0.5805 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000703/0.4216, allocations: 223.8 kB / 0.5808 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.4253, allocations: 2.115 MB / 0.5828 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.4254, allocations: 11.89 kB / 0.5828 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.4255, allocations: 55.98 kB / 0.5829 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006718/0.4262, allocations: 190.6 kB / 0.5831 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.4292, allocations: 1.693 MB / 0.5847 GB, free: 9.328 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.01238/0.4416, allocations: 6.939 MB / 0.5915 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.444, allocations: 1.262 MB / 0.5927 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.4451, allocations: 0.6165 MB / 0.5933 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.4451, allocations: 16.98 kB / 0.5933 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4452, allocations: 47.56 kB / 0.5934 GB, free: 188 kB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.597e-06/0.4452, allocations: 0 / 0.5934 GB, free: 188 kB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.009523/0.4547, allocations: 4.522 MB / 0.5978 GB, free: 11.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.4548, allocations: 90.42 kB / 0.5979 GB, free: 11.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.456, allocations: 0.888 MB / 0.5988 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4561, allocations: 45.7 kB / 0.5988 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.4567, allocations: 0.7464 MB / 0.5995 GB, free: 9.801 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/0.4571, allocations: 0.519 MB / 0.6 GB, free: 9.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.4576, allocations: 311.5 kB / 0.6003 GB, free: 8.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4577, allocations: 301.1 kB / 0.6006 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.459, allocations: 0.7067 MB / 0.6013 GB, free: 7.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.4606, allocations: 1.155 MB / 0.6024 GB, free: 6.617 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.01053/0.4711, allocations: 4.07 MB / 0.6064 GB, free: 2.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.4712, allocations: 4 kB / 0.6064 GB, free: 2.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00769/0.4789, allocations: 3.233 MB / 0.6096 GB, free: 15.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.4789, allocations: 14.81 kB / 0.6096 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/0.4789, allocations: 12 kB / 0.6096 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003141/0.4821, allocations: 1.177 MB / 0.6108 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4834, allocations: 299.5 kB / 0.611 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/0.5048, allocations: 14.4 MB / 0.6251 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.506, allocations: 75.91 kB / 0.6252 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.5063, allocations: 71.98 kB / 0.6252 GB, free: 14.65 MB / 478.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.001179/0.5075, allocations: 0.5048 MB / 0.6257 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.5078, allocations: 135.1 kB / 0.6259 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.5116, allocations: 1.783 MB / 0.6276 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.5116, allocations: 12 kB / 0.6276 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.5116, allocations: 7.938 kB / 0.6276 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.5116, allocations: 7.969 kB / 0.6276 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00781/0.5194, allocations: 3.123 MB / 0.6307 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.5194, allocations: 4 kB / 0.6307 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.5211, allocations: 327.5 kB / 0.631 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/0.5217, allocations: 199.4 kB / 0.6312 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.5218, allocations: 43.98 kB / 0.6312 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.528, allocations: 6.144 MB / 0.6372 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.528, allocations: 4 kB / 0.6372 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.5329, allocations: 2.484 MB / 0.6397 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/0.5338, allocations: 242.9 kB / 0.6399 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.5341, allocations: 43.98 kB / 0.6399 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009003/0.535, allocations: 59.89 kB / 0.64 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.5352, allocations: 105 kB / 0.6401 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.5353, allocations: 51.98 kB / 0.6401 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.5363, allocations: 0.5679 MB / 0.6407 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5363, allocations: 0 / 0.6407 GB, free: 14.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002053/0.5384, allocations: 484 kB / 0.6412 GB, free: 13.73 MB / 494.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.0002973/0.5387, allocations: 159 kB / 0.6413 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.5439, allocations: 2.622 MB / 0.6439 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5439, allocations: 0 / 0.6439 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.5461, allocations: 1.194 MB / 0.645 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.5478, allocations: 287.1 kB / 0.6453 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009494/0.5573, allocations: 5.099 MB / 0.6503 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.5589, allocations: 0.9274 MB / 0.6512 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005829/0.5595, allocations: 103.4 kB / 0.6513 GB, free: 3.117 MB / 494.1 MB Notification: Performance of SimCode: time 1.793e-06/0.5595, allocations: 4 kB / 0.6513 GB, free: 3.113 MB / 494.1 MB Notification: Performance of Templates: time 0.0621/0.6216, allocations: 43.55 MB / 0.6938 GB, free: 7.551 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.WindTurbine_DFIG.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.v[1],meter.v[2],meter.v[3] Variables in the result:meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.v[1],meter.v[2],meter.v[3],time [Calling sys.exit(0), Time elapsed: 12.820867848116904]