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.001347/0.001347, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001383/0.001383, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1755/0.1755, allocations: 38.04 MB / 330.4 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 61.67 kB / 399.5 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09338, allocations: 58.06 MB / 457.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01062/0.104, allocations: 8.078 MB / 465.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007987/0.1121, allocations: 5.491 MB / 471.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.1127, allocations: 27.88 kB / 471.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009377/0.1221, allocations: 5.235 MB / 476.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.1238, allocations: 0.8441 MB / 477.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1249, allocations: 499 kB / 477.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002817/0.1278, allocations: 2.515 MB / 480.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008721/0.1287, allocations: 0.6377 MB / 480.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.1297, allocations: 0.755 MB / 481.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.1313, allocations: 1.04 MB / 482.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000447/0.1318, allocations: 104 kB / 482.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008891/0.1327, allocations: 363.6 kB / 483.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000756/0.1334, allocations: 0.6546 MB / 483.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000841/0.1343, allocations: 0.6842 MB / 484.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.1359, allocations: 1.706 MB / 486.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1359, allocations: 4 kB / 486.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1359, allocations: 0 / 486.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1359, allocations: 0 / 486.1 MB, free: 11.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.002819/0.1387, allocations: 1.588 MB / 487.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1388, allocations: 11.89 kB / 487.7 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.14, allocations: 223.1 kB / 488 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.1416, allocations: 0.9178 MB / 488.9 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.1417, allocations: 73.97 kB / 489 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/0.1421, allocations: 179.8 kB / 489.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.1443, allocations: 1.568 MB / 490.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.1443, allocations: 11.84 kB / 490.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.1444, allocations: 39.98 kB / 490.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006081/0.145, allocations: 149.9 kB / 490.9 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.147, allocations: 1.253 MB / 492.1 MB, free: 5.16 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.007375/0.1544, allocations: 6.497 MB / 498.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.1558, allocations: 0.9088 MB / 499.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/0.1566, allocations: 0.5083 MB / 0.4883 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.1567, allocations: 9 kB / 0.4883 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1567, allocations: 51.55 kB / 0.4884 GB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.256e-06/0.1567, allocations: 0 / 0.4884 GB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006187/0.1629, allocations: 3.663 MB / 0.492 GB, free: 8.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.163, allocations: 106.2 kB / 0.4921 GB, free: 8.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.1638, allocations: 0.7272 MB / 0.4928 GB, free: 8.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.1638, allocations: 41.7 kB / 0.4928 GB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.1642, allocations: 0.5535 MB / 0.4934 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.1645, allocations: 362.8 kB / 0.4937 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.1649, allocations: 234.8 kB / 0.4939 GB, free: 6.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1651, allocations: 414.7 kB / 0.4943 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009004/0.166, allocations: 0.5686 MB / 0.4949 GB, free: 5.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.1671, allocations: 0.8815 MB / 0.4957 GB, free: 4.906 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.008143/0.1752, allocations: 3.255 MB / 0.4989 GB, free: 1.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1752, allocations: 0 / 0.4989 GB, free: 1.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005657/0.1809, allocations: 2.733 MB / 0.5016 GB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1809, allocations: 12.56 kB / 0.5016 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.181, allocations: 8 kB / 0.5016 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.1838, allocations: 1.17 MB / 0.5028 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/0.1846, allocations: 199.7 kB / 0.5029 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.2028, allocations: 12.29 MB / 0.5149 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/0.2037, allocations: 51.97 kB / 0.515 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.2038, allocations: 63.91 kB / 0.5151 GB, free: 0.6836 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.0007003/0.2046, allocations: 401.4 kB / 0.5154 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.2048, allocations: 98.78 kB / 0.5155 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2076/0.4124, allocations: 1.401 MB / 0.5169 GB, free: 70.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.4124, allocations: 14.34 kB / 0.5169 GB, free: 70.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4124, allocations: 0.9688 kB / 0.5169 GB, free: 70.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.4124, allocations: 6.141 kB / 0.5169 GB, free: 70.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/0.4169, allocations: 2.668 MB / 0.5195 GB, free: 70.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.417, allocations: 1.156 kB / 0.5195 GB, free: 70.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.4184, allocations: 272.5 kB / 0.5198 GB, free: 70.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.4186, allocations: 62.94 kB / 0.5198 GB, free: 70.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.4187, allocations: 38.8 kB / 0.5199 GB, free: 70.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.4202, allocations: 2.829 MB / 0.5226 GB, free: 67.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.4202, allocations: 8.359 kB / 0.5227 GB, free: 67.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.4228, allocations: 1.894 MB / 0.5245 GB, free: 66.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.4232, allocations: 258.6 kB / 0.5248 GB, free: 66.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4233, allocations: 33.12 kB / 0.5248 GB, free: 66.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.4239, allocations: 49.08 kB / 0.5248 GB, free: 66.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.424, allocations: 63.81 kB / 0.5249 GB, free: 66.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.4241, allocations: 26.7 kB / 0.5249 GB, free: 66.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.4247, allocations: 0.4905 MB / 0.5254 GB, free: 66.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4247, allocations: 0 / 0.5254 GB, free: 66.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001261/0.426, allocations: 377.7 kB / 0.5258 GB, free: 66.1 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.0001659/0.4262, allocations: 150.7 kB / 0.5259 GB, free: 65.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004706/0.4309, allocations: 2.567 MB / 0.5284 GB, free: 65.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4309, allocations: 3.984 kB / 0.5284 GB, free: 65.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.432, allocations: 0.7585 MB / 0.5292 GB, free: 64.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.433, allocations: 219.6 kB / 0.5294 GB, free: 64.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/0.4388, allocations: 4.173 MB / 0.5334 GB, free: 62.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009369/0.4398, allocations: 1.297 MB / 0.5347 GB, free: 61.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.4401, allocations: 89.22 kB / 0.5348 GB, free: 61.7 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4401, allocations: 0 / 0.5348 GB, free: 61.7 MB / 398.1 MB Notification: Performance of Templates: time 0.02359/0.4637, allocations: 23.85 MB / 0.5581 GB, free: 43.52 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