Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001126/0.001126, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005166/0.005166, allocations: 162 kB / 24.7 MB, free: 9.426 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.8257/0.8257, allocations: 177.1 MB / 205 MB, free: 5.727 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.2095/0.2095, allocations: 29.41 MB / 290.9 MB, free: 2.426 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_IG,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_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,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_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.736e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.005872/0.005889, allocations: 7.603 MB / 439.1 MB, free: 5.461 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005349/0.01124, allocations: 5.057 MB / 444.1 MB, free: 396 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.01163, allocations: 39.69 kB / 444.2 MB, free: 356 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1623/0.1739, allocations: 5.79 MB / 450 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.1752, allocations: 0.8719 MB / 450.8 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.176, allocations: 0.5401 MB / 451.4 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.1775, allocations: 2.624 MB / 454 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.1779, allocations: 0.5572 MB / 454.5 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006105/0.1785, allocations: 1.012 MB / 455.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.1793, allocations: 1.011 MB / 456.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.882e-05/0.1794, allocations: 103.2 kB / 456.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.1798, allocations: 395.8 kB / 457.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.1801, allocations: 0.7038 MB / 457.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.1803, allocations: 491.3 kB / 458.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1814, allocations: 1.774 MB / 460 MB, free: 42.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1814, allocations: 0 / 460 MB, free: 42.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1814, allocations: 3.375 kB / 460 MB, free: 42.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1814, allocations: 0 / 460 MB, free: 42.07 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001644/0.1831, allocations: 1.545 MB / 461.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1831, allocations: 13.52 kB / 461.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007015/0.1838, allocations: 281.9 kB / 461.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.1848, allocations: 0.8629 MB / 462.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.1848, allocations: 73.34 kB / 462.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.1851, allocations: 194.7 kB / 463 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.1863, allocations: 1.567 MB / 464.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.1863, allocations: 6.281 kB / 464.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.1864, allocations: 38.88 kB / 464.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002781/0.1867, allocations: 155.5 kB / 464.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1878, allocations: 1.239 MB / 466 MB, free: 39.49 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.003872/0.1917, allocations: 5.496 MB / 471.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008624/0.1925, allocations: 0.8673 MB / 472.3 MB, free: 35.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.193, allocations: 490.1 kB / 472.8 MB, free: 35.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.193, allocations: 10.03 kB / 472.8 MB, free: 35.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.193, allocations: 48.81 kB / 472.9 MB, free: 35.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.394e-06/0.193, allocations: 0 / 472.9 MB, free: 35.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.003381/0.1964, allocations: 3.243 MB / 476.1 MB, free: 34.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1965, allocations: 93.88 kB / 476.2 MB, free: 33.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.1969, allocations: 0.7118 MB / 476.9 MB, free: 33.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.1969, allocations: 40.77 kB / 477 MB, free: 33.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1971, allocations: 0.5663 MB / 477.5 MB, free: 33.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.1972, allocations: 388.2 kB / 477.9 MB, free: 32.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1974, allocations: 228.4 kB / 478.1 MB, free: 32.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.1975, allocations: 411.6 kB / 478.5 MB, free: 32.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.1981, allocations: 0.5624 MB / 479.1 MB, free: 32.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.1987, allocations: 0.8883 MB / 480 MB, free: 31.72 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.004355/0.203, allocations: 3.23 MB / 483.2 MB, free: 30.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2031, allocations: 7.5 kB / 483.2 MB, free: 30.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003373/0.2064, allocations: 2.696 MB / 485.9 MB, free: 29.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2064, allocations: 12.69 kB / 485.9 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.2065, allocations: 9.062 kB / 485.9 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.2082, allocations: 1.158 MB / 487.1 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.2087, allocations: 196.8 kB / 487.3 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.22, allocations: 11.86 MB / 499.1 MB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.2205, allocations: 61.53 kB / 499.2 MB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.2206, allocations: 53.19 kB / 499.3 MB, free: 23.76 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $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: 43 * 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 (96): * Single equations (assignments): 94 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005109/0.2211, allocations: 390.6 kB / 499.6 MB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.2212, allocations: 96.95 kB / 499.7 MB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.2226, allocations: 1.265 MB / 0.4893 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2226, allocations: 13.58 kB / 0.4893 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2226, allocations: 1.312 kB / 0.4893 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.2226, allocations: 4.969 kB / 0.4893 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.2251, allocations: 2.246 MB / 0.4915 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2251, allocations: 3.625 kB / 0.4915 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/0.2259, allocations: 270.8 kB / 0.4917 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.269e-05/0.226, allocations: 59.41 kB / 0.4918 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.226, allocations: 40.98 kB / 0.4918 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.2268, allocations: 2.577 MB / 0.4943 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2268, allocations: 6.875 kB / 0.4944 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.2283, allocations: 1.733 MB / 0.496 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.2285, allocations: 181.5 kB / 0.4962 GB, free: 18.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.2286, allocations: 39.14 kB / 0.4963 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.2289, allocations: 44.61 kB / 0.4963 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.229, allocations: 76.78 kB / 0.4964 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.229, allocations: 31.09 kB / 0.4964 GB, free: 18.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003194/0.2293, allocations: 476.9 kB / 0.4969 GB, free: 18.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2293, allocations: 0 / 0.4969 GB, free: 18.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000692/0.23, allocations: 382.8 kB / 0.4972 GB, free: 17.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(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.0001213/0.2302, allocations: 143.8 kB / 0.4974 GB, free: 17.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.232, allocations: 2.027 MB / 0.4993 GB, free: 16.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.232, allocations: 0 / 0.4993 GB, free: 16.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.2325, allocations: 0.7388 MB / 0.5001 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.2331, allocations: 215.3 kB / 0.5003 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.2361, allocations: 3.64 MB / 0.5038 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.2365, allocations: 0.7128 MB / 0.5045 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.2367, allocations: 84.48 kB / 0.5046 GB, free: 11.02 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2367, allocations: 3.938 kB / 0.5046 GB, free: 11.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01572/0.2524, allocations: 24.94 MB / 0.529 GB, free: 2.062 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.WindTurbine_IG.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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: 6.3080688919872046]