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.001706/0.001706, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002029/0.002029, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.1754/0.1754, allocations: 38.53 MB / 353.2 MB, free: 12.55 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_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: 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.002067/0.002067, allocations: 67.89 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01024/0.3356, allocations: 8.318 MB / 0.5513 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008996/0.3446, allocations: 5.582 MB / 0.5568 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006229/0.3452, allocations: 38.31 kB / 0.5568 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.3567, allocations: 5.887 MB / 0.5626 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.3589, allocations: 0.8558 MB / 0.5634 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3602, allocations: 0.4991 MB / 0.5639 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003723/0.3639, allocations: 2.624 MB / 0.5665 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008803/0.3648, allocations: 0.5594 MB / 0.567 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.366, allocations: 0.7902 MB / 0.5678 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.3678, allocations: 1.129 MB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.3679, allocations: 104 kB / 0.569 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008646/0.3688, allocations: 403.5 kB / 0.5694 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006827/0.3695, allocations: 0.67 MB / 0.57 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.3703, allocations: 0.6958 MB / 0.5707 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.3724, allocations: 1.74 MB / 0.5724 GB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3724, allocations: 0 / 0.5724 GB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3724, allocations: 0 / 0.5724 GB, free: 6.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.3724, allocations: 4 kB / 0.5724 GB, free: 6.488 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003151/0.3755, allocations: 1.555 MB / 0.5739 GB, free: 4.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3756, allocations: 11.98 kB / 0.5739 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.3769, allocations: 283.8 kB / 0.5742 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.3789, allocations: 0.866 MB / 0.5751 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.379, allocations: 73.97 kB / 0.5751 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/0.3794, allocations: 187.8 kB / 0.5753 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.3818, allocations: 1.556 MB / 0.5768 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.3819, allocations: 4 kB / 0.5768 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.382, allocations: 43.97 kB / 0.5769 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005817/0.3826, allocations: 157.9 kB / 0.577 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.3847, allocations: 1.245 MB / 0.5782 GB, free: 368 kB / 414.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.008838/0.3935, allocations: 6.361 MB / 0.5844 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.3951, allocations: 0.8774 MB / 0.5853 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.3958, allocations: 496.4 kB / 0.5858 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.3959, allocations: 20.97 kB / 0.5858 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.396, allocations: 47.5 kB / 0.5858 GB, free: 8.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 2.574e-06/0.396, allocations: 4 kB / 0.5858 GB, free: 8.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006422/0.4024, allocations: 3.231 MB / 0.589 GB, free: 4.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.4025, allocations: 102 kB / 0.5891 GB, free: 4.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.4034, allocations: 0.7273 MB / 0.5898 GB, free: 4.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.4034, allocations: 41.7 kB / 0.5898 GB, free: 4.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.4039, allocations: 0.5667 MB / 0.5904 GB, free: 3.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.4042, allocations: 384.7 kB / 0.5908 GB, free: 3.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.4046, allocations: 230.9 kB / 0.591 GB, free: 2.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.4048, allocations: 418.8 kB / 0.5914 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009219/0.4057, allocations: 0.5647 MB / 0.5919 GB, free: 1.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4069, allocations: 0.8892 MB / 0.5928 GB, free: 0.8203 MB / 430.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.00835/0.4152, allocations: 3.228 MB / 0.596 GB, free: 13.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.4152, allocations: 4 kB / 0.596 GB, free: 13.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005852/0.4211, allocations: 2.694 MB / 0.5986 GB, free: 10.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.4211, allocations: 11.94 kB / 0.5986 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.4211, allocations: 8 kB / 0.5986 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002956/0.4241, allocations: 1.159 MB / 0.5997 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.4249, allocations: 203.7 kB / 0.5999 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.4436, allocations: 12.09 MB / 0.6117 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/0.4445, allocations: 51.92 kB / 0.6118 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4446, allocations: 59.92 kB / 0.6118 GB, free: 12.92 MB / 462.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.0007185/0.4453, allocations: 409.3 kB / 0.6122 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4455, allocations: 99.39 kB / 0.6123 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.4478, allocations: 1.261 MB / 0.6136 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.4478, allocations: 12 kB / 0.6136 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4478, allocations: 0 / 0.6136 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4478, allocations: 3.984 kB / 0.6136 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004621/0.4524, allocations: 2.474 MB / 0.616 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.4525, allocations: 7.938 kB / 0.616 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.454, allocations: 279.8 kB / 0.6163 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.4541, allocations: 53.67 kB / 0.6163 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/0.4542, allocations: 35.98 kB / 0.6164 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.4564, allocations: 2.632 MB / 0.6189 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4564, allocations: 0 / 0.6189 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.4592, allocations: 1.758 MB / 0.6206 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/0.4597, allocations: 187.2 kB / 0.6208 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.4599, allocations: 35.98 kB / 0.6209 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.4604, allocations: 47.95 kB / 0.6209 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.4606, allocations: 68.75 kB / 0.621 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.4606, allocations: 31.98 kB / 0.621 GB, free: 3.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006356/0.4613, allocations: 499 kB / 0.6215 GB, free: 2.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4613, allocations: 0 / 0.6215 GB, free: 2.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001273/0.4625, allocations: 376 kB / 0.6218 GB, free: 2.316 MB / 462.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.000196/0.4627, allocations: 143 kB / 0.622 GB, free: 2.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003699/0.4664, allocations: 2.049 MB / 0.624 GB, free: 92 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4664, allocations: 5.25 kB / 0.624 GB, free: 88 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.4676, allocations: 0.7336 MB / 0.6247 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.4685, allocations: 214.6 kB / 0.6249 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/0.4753, allocations: 4.204 MB / 0.629 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.4764, allocations: 1.31 MB / 0.6303 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.4768, allocations: 75.42 kB / 0.6304 GB, free: 9.434 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4768, allocations: 0 / 0.6304 GB, free: 9.434 MB / 478.1 MB Notification: Performance of Templates: time 0.03477/0.5115, allocations: 24.14 MB / 0.6539 GB, free: 1.281 MB / 494.1 MB " [Timeout remaining time 659] 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/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) [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: 10.577787117799744]