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.0007682/0.0007682, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003105/0.003105, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8261/0.8261, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.1986/0.1986, allocations: 29.41 MB / 290.9 MB, free: 2.449 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.711e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007172/0.007189, allocations: 9.834 MB / 441.3 MB, free: 3.238 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1651/0.1723, allocations: 5.765 MB / 447.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006671/0.1729, allocations: 68.69 kB / 447.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006113/0.179, allocations: 6.057 MB / 453.2 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.1803, allocations: 1.119 MB / 454.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/0.1812, allocations: 0.7037 MB / 455 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.1829, allocations: 3.327 MB / 458.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/0.1835, allocations: 0.8442 MB / 459.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008955/0.1844, allocations: 1.426 MB / 460.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009319/0.1853, allocations: 1.313 MB / 461.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.1855, allocations: 143.4 kB / 462.1 MB, free: 40.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.186, allocations: 447.3 kB / 462.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.1864, allocations: 0.9068 MB / 463.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.1868, allocations: 0.6458 MB / 464 MB, free: 40.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.188, allocations: 2.317 MB / 466.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.188, allocations: 0 / 466.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1881, allocations: 3.188 kB / 466.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.1881, allocations: 0 / 466.4 MB, free: 39.61 MB / 410.7 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.002106/0.1902, allocations: 2.027 MB / 468.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1902, allocations: 13.77 kB / 468.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.191, allocations: 337.1 kB / 468.7 MB, free: 38.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.1923, allocations: 1.127 MB / 469.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.1923, allocations: 102.5 kB / 470 MB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.1926, allocations: 226 kB / 470.2 MB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.1942, allocations: 2.111 MB / 472.3 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.1943, allocations: 6.859 kB / 472.3 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.801e-05/0.1944, allocations: 57.34 kB / 472.4 MB, free: 36.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000299/0.1947, allocations: 181.1 kB / 472.5 MB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.1962, allocations: 1.698 MB / 474.2 MB, free: 36.17 MB / 410.7 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.00498/0.2011, allocations: 6.934 MB / 481.2 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.2025, allocations: 1.248 MB / 482.4 MB, free: 31.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.2032, allocations: 0.6195 MB / 483 MB, free: 31.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.2033, allocations: 18.91 kB / 483 MB, free: 31.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2033, allocations: 47.5 kB / 483.1 MB, free: 31.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.164e-06/0.2033, allocations: 0 / 483.1 MB, free: 31.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.00542/0.2087, allocations: 4.513 MB / 487.6 MB, free: 29.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.2088, allocations: 93.27 kB / 487.7 MB, free: 29.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.2095, allocations: 0.8786 MB / 488.6 MB, free: 28.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.2096, allocations: 52.91 kB / 488.6 MB, free: 28.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.2099, allocations: 0.741 MB / 489.4 MB, free: 28.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.2101, allocations: 0.517 MB / 489.9 MB, free: 27.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.2104, allocations: 307 kB / 490.2 MB, free: 27.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.598e-05/0.2104, allocations: 303 kB / 490.5 MB, free: 27.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.2112, allocations: 0.7071 MB / 491.2 MB, free: 27.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/0.2121, allocations: 1.15 MB / 492.3 MB, free: 26.28 MB / 410.7 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.005816/0.218, allocations: 4.082 MB / 496.4 MB, free: 24.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.218, allocations: 4.5 kB / 496.4 MB, free: 24.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00396/0.2219, allocations: 3.235 MB / 499.7 MB, free: 23.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2219, allocations: 12.45 kB / 499.7 MB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.222, allocations: 12.41 kB / 499.7 MB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.2239, allocations: 1.183 MB / 0.4891 GB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.2247, allocations: 302.9 kB / 0.4894 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.2378, allocations: 14.42 MB / 0.5035 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.2387, allocations: 71.95 kB / 0.5036 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.2388, allocations: 75.98 kB / 0.5036 GB, free: 12.65 MB / 410.7 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.0007408/0.2395, allocations: 0.5059 MB / 0.5041 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2397, allocations: 135.1 kB / 0.5043 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.2418, allocations: 1.775 MB / 0.506 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.2418, allocations: 19.98 kB / 0.506 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2418, allocations: 4 kB / 0.506 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.2418, allocations: 7.922 kB / 0.506 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.2456, allocations: 3.126 MB / 0.5091 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.2456, allocations: 8.062 kB / 0.5091 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.2466, allocations: 319.6 kB / 0.5094 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003102/0.2469, allocations: 187.2 kB / 0.5096 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.761e-05/0.247, allocations: 51.97 kB / 0.5096 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.2493, allocations: 6.135 MB / 0.5156 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2493, allocations: 5.719 kB / 0.5156 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.2516, allocations: 2.486 MB / 0.518 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.252, allocations: 239 kB / 0.5183 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/0.252, allocations: 47.92 kB / 0.5183 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.2524, allocations: 59.94 kB / 0.5184 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2525, allocations: 105 kB / 0.5185 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.2526, allocations: 36 kB / 0.5185 GB, free: 12.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004513/0.253, allocations: 0.5718 MB / 0.5191 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.253, allocations: 7.938 kB / 0.5191 GB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001125/0.2541, allocations: 484 kB / 0.5195 GB, free: 11.79 MB / 426.7 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.0001567/0.2543, allocations: 151 kB / 0.5197 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.2569, allocations: 2.618 MB / 0.5222 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2569, allocations: 0 / 0.5222 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00098/0.2579, allocations: 1.209 MB / 0.5234 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.2586, allocations: 298.2 kB / 0.5237 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.2628, allocations: 4.513 MB / 0.5281 GB, free: 2.832 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.2635, allocations: 0.9274 MB / 0.529 GB, free: 1.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.2637, allocations: 104.5 kB / 0.5291 GB, free: 1.766 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2637, allocations: 4 kB / 0.5291 GB, free: 1.762 MB / 426.7 MB Notification: Performance of Templates: time 0.02923/0.293, allocations: 43.97 MB / 0.5721 GB, free: 5.793 MB / 474.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.WindTurbine_DFIG.mat","/var/lib/jenkins/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: 7.894537060521543]