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.001955/0.001955, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002514/0.002514, allocations: 209 kB / 24.48 MB, free: 3.938 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.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.1924/0.1924, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.002298/0.002298, allocations: 63.91 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3508, allocations: 62.47 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.0111/0.3619, allocations: 7.67 MB / 0.5506 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.3721, allocations: 5.04 MB / 0.5556 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.3729, allocations: 37.78 kB / 0.5556 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01361/0.3865, allocations: 5.741 MB / 0.5612 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.3895, allocations: 0.8635 MB / 0.5621 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3911, allocations: 0.5069 MB / 0.5626 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004292/0.3954, allocations: 2.608 MB / 0.5651 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009381/0.3964, allocations: 0.5554 MB / 0.5656 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.3977, allocations: 0.7979 MB / 0.5664 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.3994, allocations: 1.082 MB / 0.5675 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.3996, allocations: 104 kB / 0.5676 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.4005, allocations: 387.5 kB / 0.5679 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007303/0.4013, allocations: 0.6623 MB / 0.5686 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.402, allocations: 0.5755 MB / 0.5692 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.4042, allocations: 1.759 MB / 0.5709 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4042, allocations: 0 / 0.5709 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4042, allocations: 0 / 0.5709 GB, free: 7.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.4043, allocations: 0 / 0.5709 GB, free: 7.766 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.003357/0.4076, allocations: 1.551 MB / 0.5724 GB, free: 6.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4077, allocations: 11.98 kB / 0.5724 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.4092, allocations: 283.8 kB / 0.5727 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.4114, allocations: 0.866 MB / 0.5735 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.4115, allocations: 69.98 kB / 0.5736 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004678/0.4119, allocations: 191.8 kB / 0.5738 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.4145, allocations: 1.562 MB / 0.5753 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.4146, allocations: 4 kB / 0.5753 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.4147, allocations: 47.97 kB / 0.5753 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006335/0.4153, allocations: 149.9 kB / 0.5755 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.4176, allocations: 1.249 MB / 0.5767 GB, free: 1.637 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.009705/0.4273, allocations: 5.5 MB / 0.5821 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4291, allocations: 0.8677 MB / 0.5829 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.4299, allocations: 484.5 kB / 0.5834 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-05/0.43, allocations: 17 kB / 0.5834 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.43, allocations: 43.5 kB / 0.5834 GB, free: 10.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.767e-06/0.43, allocations: 4 kB / 0.5834 GB, free: 10.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007361/0.4374, allocations: 3.245 MB / 0.5866 GB, free: 7.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.4375, allocations: 86.11 kB / 0.5867 GB, free: 7.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.4385, allocations: 0.723 MB / 0.5874 GB, free: 6.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-05/0.4386, allocations: 45.69 kB / 0.5874 GB, free: 6.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005287/0.4391, allocations: 0.5667 MB / 0.588 GB, free: 5.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.4395, allocations: 384.8 kB / 0.5884 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.4398, allocations: 238.8 kB / 0.5886 GB, free: 5.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.4401, allocations: 414.7 kB / 0.589 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4411, allocations: 0.5647 MB / 0.5895 GB, free: 4.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.4424, allocations: 0.8931 MB / 0.5904 GB, free: 3.105 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.00887/0.4512, allocations: 3.224 MB / 0.5936 GB, free: 15.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4513, allocations: 3.938 kB / 0.5936 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006305/0.4576, allocations: 2.69 MB / 0.5962 GB, free: 13.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.4576, allocations: 8 kB / 0.5962 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.4576, allocations: 19.92 kB / 0.5962 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/0.4607, allocations: 1.139 MB / 0.5973 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/0.4616, allocations: 199.7 kB / 0.5975 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/0.4818, allocations: 11.84 MB / 0.6091 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.4828, allocations: 59.98 kB / 0.6091 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.483, allocations: 55.98 kB / 0.6092 GB, free: 15.51 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.000819/0.4838, allocations: 401.3 kB / 0.6096 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.4841, allocations: 99.38 kB / 0.6097 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.4866, allocations: 1.253 MB / 0.6109 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.4866, allocations: 15.94 kB / 0.6109 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4866, allocations: 3.938 kB / 0.6109 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4867, allocations: 3.984 kB / 0.6109 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0051/0.4918, allocations: 2.24 MB / 0.6131 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4918, allocations: 4 kB / 0.6131 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.4933, allocations: 275.6 kB / 0.6134 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.4935, allocations: 57.67 kB / 0.6134 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.4936, allocations: 40.17 kB / 0.6135 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.496, allocations: 2.583 MB / 0.616 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.496, allocations: 4 kB / 0.616 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.4991, allocations: 1.739 MB / 0.6177 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.4998, allocations: 179.4 kB / 0.6179 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.5, allocations: 43.86 kB / 0.6179 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.5006, allocations: 43.95 kB / 0.6179 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.5008, allocations: 76.75 kB / 0.618 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.5008, allocations: 24 kB / 0.618 GB, free: 6.094 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007037/0.5015, allocations: 479 kB / 0.6185 GB, free: 5.629 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5015, allocations: 0 / 0.6185 GB, free: 5.629 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001363/0.5029, allocations: 376 kB / 0.6189 GB, free: 5.262 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.0002124/0.5031, allocations: 139.1 kB / 0.619 GB, free: 5.113 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.5073, allocations: 2.049 MB / 0.621 GB, free: 3.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5073, allocations: 0 / 0.621 GB, free: 3.047 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.5085, allocations: 0.7341 MB / 0.6217 GB, free: 2.285 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.5095, allocations: 212.7 kB / 0.6219 GB, free: 2.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/0.5168, allocations: 4.215 MB / 0.626 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009501/0.5177, allocations: 0.7054 MB / 0.6267 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.5181, allocations: 79.42 kB / 0.6268 GB, free: 12.99 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5181, allocations: 0 / 0.6268 GB, free: 12.99 MB / 478.1 MB Notification: Performance of Templates: time 0.03684/0.5549, allocations: 24.46 MB / 0.6507 GB, free: 4.504 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: 11.307890427298844]