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.001606/0.001606, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001354/0.001354, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 8.215 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.1784/0.1784, allocations: 38.52 MB / 353.2 MB, free: 12.59 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.00194/0.00194, allocations: 67.89 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 62.46 MB / 0.5432 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01264/0.3478, allocations: 10.88 MB / 0.5538 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.36, allocations: 6.322 MB / 0.56 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.3616, allocations: 64 kB / 0.5601 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01379/0.3754, allocations: 6.177 MB / 0.5661 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.3786, allocations: 1.081 MB / 0.5672 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.3807, allocations: 0.6705 MB / 0.5678 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005111/0.3858, allocations: 3.321 MB / 0.5711 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.3873, allocations: 0.8592 MB / 0.5719 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.3893, allocations: 1.094 MB / 0.573 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.3918, allocations: 1.456 MB / 0.5744 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.3923, allocations: 144 kB / 0.5745 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.3935, allocations: 467.4 kB / 0.575 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.3947, allocations: 0.8609 MB / 0.5758 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.3964, allocations: 0.933 MB / 0.5767 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.4, allocations: 2.284 MB / 0.579 GB, free: 15.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4, allocations: 0 / 0.579 GB, free: 15.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4, allocations: 0 / 0.579 GB, free: 15.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.989e-05/0.4001, allocations: 0 / 0.579 GB, free: 15.79 MB / 430.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.004812/0.4049, allocations: 2.041 MB / 0.581 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4049, allocations: 15.98 kB / 0.581 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.4066, allocations: 331.5 kB / 0.5813 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.4094, allocations: 1.123 MB / 0.5824 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.4095, allocations: 106.6 kB / 0.5825 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000529/0.41, allocations: 219.9 kB / 0.5827 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.4133, allocations: 2.103 MB / 0.5847 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.4134, allocations: 19.81 kB / 0.5848 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.4135, allocations: 59.98 kB / 0.5848 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006058/0.4141, allocations: 178.6 kB / 0.585 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.4172, allocations: 1.709 MB / 0.5867 GB, free: 7.699 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.01193/0.4291, allocations: 7.808 MB / 0.5943 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.4313, allocations: 1.261 MB / 0.5955 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009898/0.4323, allocations: 0.6176 MB / 0.5961 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.291e-05/0.4324, allocations: 16.98 kB / 0.5961 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4324, allocations: 43.56 kB / 0.5962 GB, free: 13.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.276e-06/0.4325, allocations: 4 kB / 0.5962 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009008/0.4415, allocations: 4.528 MB / 0.6006 GB, free: 9.027 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.4415, allocations: 98.42 kB / 0.6007 GB, free: 8.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4427, allocations: 0.9387 MB / 0.6016 GB, free: 7.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-05/0.4428, allocations: 45.7 kB / 0.6017 GB, free: 7.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.4434, allocations: 0.7426 MB / 0.6024 GB, free: 7.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.4438, allocations: 0.519 MB / 0.6029 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.4443, allocations: 307.5 kB / 0.6032 GB, free: 6.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4444, allocations: 305.1 kB / 0.6035 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.4455, allocations: 0.7027 MB / 0.6042 GB, free: 5.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.447, allocations: 1.155 MB / 0.6053 GB, free: 3.973 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.009874/0.4569, allocations: 4.078 MB / 0.6093 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.4569, allocations: 4 kB / 0.6093 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007046/0.464, allocations: 3.233 MB / 0.6124 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.464, allocations: 12 kB / 0.6124 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.464, allocations: 15.94 kB / 0.6125 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003196/0.4672, allocations: 1.202 MB / 0.6136 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4685, allocations: 295.5 kB / 0.6139 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.4896, allocations: 14.73 MB / 0.6283 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.4908, allocations: 83.83 kB / 0.6284 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.491, allocations: 75.98 kB / 0.6285 GB, free: 11.58 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.001009/0.492, allocations: 0.4963 MB / 0.6289 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.4922, allocations: 139.1 kB / 0.6291 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.4957, allocations: 1.796 MB / 0.6308 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.4957, allocations: 12 kB / 0.6308 GB, free: 9.113 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4957, allocations: 4 kB / 0.6308 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.4957, allocations: 3.984 kB / 0.6308 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/0.5025, allocations: 3.498 MB / 0.6343 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.026e-06/0.5025, allocations: 4 kB / 0.6343 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.5041, allocations: 332 kB / 0.6346 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.5046, allocations: 191.2 kB / 0.6348 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.5047, allocations: 47.98 kB / 0.6348 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006307/0.511, allocations: 6.263 MB / 0.6409 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.511, allocations: 4 kB / 0.6409 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.5153, allocations: 2.488 MB / 0.6434 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/0.516, allocations: 246.9 kB / 0.6436 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.5162, allocations: 51.92 kB / 0.6436 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/0.5169, allocations: 59.94 kB / 0.6437 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.5171, allocations: 101 kB / 0.6438 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.5172, allocations: 48.08 kB / 0.6438 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009285/0.5182, allocations: 0.6243 MB / 0.6444 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5182, allocations: 4 kB / 0.6445 GB, free: 10.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001711/0.5199, allocations: 488 kB / 0.6449 GB, free: 10.02 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.0002373/0.5201, allocations: 155 kB / 0.6451 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004622/0.5247, allocations: 2.621 MB / 0.6476 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5247, allocations: 0 / 0.6476 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.5266, allocations: 1.198 MB / 0.6488 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.5279, allocations: 315.1 kB / 0.6491 GB, free: 5.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/0.5361, allocations: 5.108 MB / 0.6541 GB, free: 440 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.5374, allocations: 1.517 MB / 0.6556 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.5379, allocations: 107.4 kB / 0.6557 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.5379, allocations: 4 kB / 0.6557 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.05631/0.5942, allocations: 43.34 MB / 0.698 GB, free: 3.434 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.187440022127703]