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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 104 kB / 19.6 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 195.2 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.18/0.18, allocations: 38.52 MB / 345 MB, free: 2.672 MB / 270.1 MB [Timeout remaining time 90] 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=503,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=503,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 0.001942/0.001942, allocations: 71.89 kB / 482.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3171, allocations: 61.24 MB / 0.5309 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008271/0.3254, allocations: 8.211 MB / 0.539 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00932/0.3347, allocations: 5.515 MB / 0.5443 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007812/0.3355, allocations: 29.75 kB / 0.5444 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.3475, allocations: 5.43 MB / 0.5497 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.3502, allocations: 0.8501 MB / 0.5505 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.3516, allocations: 499 kB / 0.551 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004227/0.3558, allocations: 2.566 MB / 0.5535 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008333/0.3567, allocations: 0.5089 MB / 0.554 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.3579, allocations: 0.7823 MB / 0.5547 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.3595, allocations: 1.118 MB / 0.5558 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.3596, allocations: 104 kB / 0.5559 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.3605, allocations: 383.5 kB / 0.5563 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007242/0.3612, allocations: 0.6778 MB / 0.557 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008021/0.362, allocations: 0.6803 MB / 0.5576 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.3641, allocations: 1.732 MB / 0.5593 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3641, allocations: 0 / 0.5593 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3641, allocations: 4 kB / 0.5593 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.3641, allocations: 0 / 0.5593 GB, free: 15.61 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.003444/0.3675, allocations: 1.622 MB / 0.5609 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3676, allocations: 11.89 kB / 0.5609 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.3688, allocations: 227.9 kB / 0.5611 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.3709, allocations: 0.9692 MB / 0.5621 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.371, allocations: 69.98 kB / 0.5621 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/0.3714, allocations: 187.9 kB / 0.5623 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.374, allocations: 1.556 MB / 0.5638 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.374, allocations: 15.89 kB / 0.5639 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.3741, allocations: 39.97 kB / 0.5639 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000581/0.3747, allocations: 153.9 kB / 0.564 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.377, allocations: 1.245 MB / 0.5653 GB, free: 9.336 MB / 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.009713/0.3867, allocations: 6.467 MB / 0.5716 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.3884, allocations: 0.8658 MB / 0.5724 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/0.3892, allocations: 492.5 kB / 0.5729 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/0.3893, allocations: 16.98 kB / 0.5729 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.3893, allocations: 43.56 kB / 0.573 GB, free: 1.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.3893, allocations: 0 / 0.573 GB, free: 1.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.007103/0.3964, allocations: 3.701 MB / 0.5766 GB, free: 13.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.3965, allocations: 94.05 kB / 0.5767 GB, free: 13.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3975, allocations: 0.7312 MB / 0.5774 GB, free: 12.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.188e-05/0.3976, allocations: 41.7 kB / 0.5774 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.3981, allocations: 0.5667 MB / 0.578 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.3984, allocations: 392.8 kB / 0.5783 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.3988, allocations: 230.9 kB / 0.5786 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.399, allocations: 414.7 kB / 0.579 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009753/0.4, allocations: 0.5686 MB / 0.5795 GB, free: 10.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.4012, allocations: 0.8776 MB / 0.5804 GB, free: 9.129 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.008735/0.41, allocations: 3.232 MB / 0.5835 GB, free: 5.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.41, allocations: 4 kB / 0.5835 GB, free: 5.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006175/0.4162, allocations: 2.694 MB / 0.5862 GB, free: 3.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.4162, allocations: 15.69 kB / 0.5862 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.4162, allocations: 8 kB / 0.5862 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.4194, allocations: 1.167 MB / 0.5873 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.4203, allocations: 195.7 kB / 0.5875 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.4398, allocations: 12.29 MB / 0.5995 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/0.4407, allocations: 55.95 kB / 0.5996 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.4408, allocations: 55.98 kB / 0.5996 GB, free: 4.973 MB / 446.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.000703/0.4415, allocations: 413.3 kB / 0.6 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4417, allocations: 99.34 kB / 0.6001 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.4442, allocations: 1.412 MB / 0.6015 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4442, allocations: 8 kB / 0.6015 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4442, allocations: 4 kB / 0.6015 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4442, allocations: 3.984 kB / 0.6015 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/0.449, allocations: 2.656 MB / 0.6041 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.449, allocations: 7.938 kB / 0.6041 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.4505, allocations: 271.9 kB / 0.6044 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.4507, allocations: 61.61 kB / 0.6044 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/0.4508, allocations: 35.97 kB / 0.6045 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.4531, allocations: 2.839 MB / 0.6072 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.4531, allocations: 11.94 kB / 0.6072 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.4561, allocations: 1.893 MB / 0.6091 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/0.4567, allocations: 264.3 kB / 0.6093 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.4568, allocations: 39.98 kB / 0.6094 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.4574, allocations: 43.95 kB / 0.6094 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.4576, allocations: 60.86 kB / 0.6095 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.4577, allocations: 35.92 kB / 0.6095 GB, free: 10.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006697/0.4583, allocations: 0.4911 MB / 0.61 GB, free: 9.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4583, allocations: 0 / 0.61 GB, free: 9.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001289/0.4596, allocations: 380 kB / 0.6104 GB, free: 9.41 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.0002748/0.4599, allocations: 135 kB / 0.6105 GB, free: 9.266 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.4638, allocations: 2.042 MB / 0.6125 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4638, allocations: 0 / 0.6125 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.465, allocations: 0.7333 MB / 0.6132 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4661, allocations: 230.3 kB / 0.6134 GB, free: 6.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.4727, allocations: 4.214 MB / 0.6175 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.4738, allocations: 1.295 MB / 0.6188 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.4742, allocations: 83.42 kB / 0.6189 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4742, allocations: 7.938 kB / 0.6189 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of Templates: time 0.03278/0.507, allocations: 24.13 MB / 0.6424 GB, free: 8.387 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