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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 106.9 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 189.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.297/2.297, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3414/0.3414, allocations: 38.03 MB / 330.1 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 61.88 kB / 398.9 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1609, allocations: 58.06 MB / 457 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.02177/0.1828, allocations: 9.318 MB / 466.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.2028, allocations: 5.842 MB / 472.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.2049, allocations: 51.69 kB / 472.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02072/0.2257, allocations: 5.295 MB / 477.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.2298, allocations: 0.7784 MB / 478.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.2323, allocations: 463.2 kB / 478.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007049/0.2394, allocations: 2.569 MB / 481.3 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.2418, allocations: 0.6649 MB / 482 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.2443, allocations: 0.7745 MB / 482.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/0.2476, allocations: 1.11 MB / 483.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005858/0.2482, allocations: 108 kB / 484 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.2498, allocations: 375.5 kB / 484.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.2513, allocations: 0.6585 MB / 485 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.2533, allocations: 0.6881 MB / 485.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.2563, allocations: 1.325 MB / 487 MB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.2564, allocations: 0 / 487 MB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2564, allocations: 0 / 487 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.249e-05/0.2565, allocations: 4 kB / 487 MB, free: 10.35 MB / 366.1 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.006784/0.2633, allocations: 1.593 MB / 488.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.2634, allocations: 11.89 kB / 488.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.2661, allocations: 215.1 kB / 488.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/0.2701, allocations: 0.9256 MB / 489.7 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.2703, allocations: 69.98 kB / 489.8 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.2715, allocations: 179.8 kB / 490 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00555/0.2771, allocations: 1.567 MB / 491.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-05/0.2772, allocations: 7.984 kB / 491.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.2775, allocations: 43.98 kB / 491.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001294/0.2788, allocations: 145.9 kB / 491.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.2836, allocations: 1.249 MB / 493 MB, free: 4.164 MB / 366.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.01863/0.3022, allocations: 6.493 MB / 499.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.3056, allocations: 0.9166 MB / 0.4887 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.3073, allocations: 0.516 MB / 0.4892 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.3074, allocations: 9 kB / 0.4892 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.402e-05/0.3075, allocations: 39.56 kB / 0.4892 GB, free: 11.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 6.031e-06/0.3076, allocations: 0 / 0.4892 GB, free: 11.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.0142/0.3218, allocations: 3.667 MB / 0.4928 GB, free: 7.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/0.3219, allocations: 90.05 kB / 0.4929 GB, free: 7.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.3238, allocations: 0.7312 MB / 0.4936 GB, free: 7.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.324, allocations: 41.7 kB / 0.4936 GB, free: 7.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007424/0.3247, allocations: 0.5496 MB / 0.4942 GB, free: 6.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000619/0.3254, allocations: 374.8 kB / 0.4945 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007543/0.3262, allocations: 234.8 kB / 0.4948 GB, free: 5.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003311/0.3265, allocations: 418.7 kB / 0.4952 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.3283, allocations: 0.5608 MB / 0.4957 GB, free: 4.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.3305, allocations: 0.8815 MB / 0.4966 GB, free: 3.914 MB / 382.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.01675/0.3472, allocations: 3.255 MB / 0.4998 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.358e-05/0.3473, allocations: 0 / 0.4998 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01031/0.3576, allocations: 2.737 MB / 0.5024 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.3577, allocations: 15.88 kB / 0.5024 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.3578, allocations: 8 kB / 0.5024 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008792/0.3666, allocations: 1.16 MB / 0.5036 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.368, allocations: 199.7 kB / 0.5038 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3787/0.7467, allocations: 12.29 MB / 0.5158 GB, free: 69.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.7489, allocations: 58.95 kB / 0.5158 GB, free: 69.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005136/0.7494, allocations: 53.47 kB / 0.5159 GB, free: 69.48 MB / 398.1 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.001699/0.7512, allocations: 400.3 kB / 0.5163 GB, free: 69.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/0.7517, allocations: 93.36 kB / 0.5164 GB, free: 69.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/0.7571, allocations: 1.415 MB / 0.5177 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.7571, allocations: 13.28 kB / 0.5177 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/0.7572, allocations: 1.125 kB / 0.5177 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.7572, allocations: 5.719 kB / 0.5178 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.7676, allocations: 2.663 MB / 0.5204 GB, free: 68.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/0.7677, allocations: 2.219 kB / 0.5204 GB, free: 68.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003411/0.7711, allocations: 279.8 kB / 0.5206 GB, free: 68.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.7715, allocations: 54.67 kB / 0.5207 GB, free: 68.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.7717, allocations: 40.67 kB / 0.5207 GB, free: 68.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.7747, allocations: 2.84 MB / 0.5235 GB, free: 65.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.7748, allocations: 6.219 kB / 0.5235 GB, free: 65.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/0.7804, allocations: 1.892 MB / 0.5253 GB, free: 64.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000957/0.7814, allocations: 254 kB / 0.5256 GB, free: 64.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004349/0.7819, allocations: 37.2 kB / 0.5256 GB, free: 64.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.7831, allocations: 50.16 kB / 0.5257 GB, free: 64.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.7834, allocations: 59.52 kB / 0.5257 GB, free: 64.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.7836, allocations: 31.11 kB / 0.5258 GB, free: 64.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.785, allocations: 499.6 kB / 0.5262 GB, free: 64.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.705e-06/0.7851, allocations: 0 / 0.5262 GB, free: 64.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002893/0.788, allocations: 381.2 kB / 0.5266 GB, free: 64.29 MB / 398.1 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.000416/0.7884, allocations: 151.4 kB / 0.5267 GB, free: 64.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01739/0.8058, allocations: 2.575 MB / 0.5293 GB, free: 63.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.8059, allocations: 0 / 0.5293 GB, free: 63.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003114/0.809, allocations: 0.7572 MB / 0.53 GB, free: 62.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/0.8127, allocations: 216.2 kB / 0.5302 GB, free: 62.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/0.832, allocations: 4.646 MB / 0.5347 GB, free: 60.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003695/0.8358, allocations: 1.301 MB / 0.536 GB, free: 59.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.8371, allocations: 82.06 kB / 0.5361 GB, free: 59.42 MB / 398.1 MB Notification: Performance of SimCode: time 3.647e-06/0.8371, allocations: 4 kB / 0.5361 GB, free: 59.41 MB / 398.1 MB Notification: Performance of Templates: time 0.06883/0.906, allocations: 23.85 MB / 0.5594 GB, free: 41.57 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.WindTurbine_IG.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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