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.001444/0.001444, allocations: 109.8 kB / 17.74 MB, free: 5.34 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.001686/0.001687, allocations: 193.6 kB / 18.68 MB, free: 4.41 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.415/1.415, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1786/0.1786, allocations: 38.02 MB / 330.5 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3618, allocations: 58.05 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009165/0.371, allocations: 8.107 MB / 0.5127 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009835/0.3809, allocations: 5.482 MB / 0.518 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.3821, allocations: 25.41 kB / 0.518 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01327/0.3954, allocations: 5.226 MB / 0.5232 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.3982, allocations: 0.8342 MB / 0.524 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.4001, allocations: 0.4945 MB / 0.5244 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.4051, allocations: 2.521 MB / 0.5269 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.4064, allocations: 0.6323 MB / 0.5275 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.4084, allocations: 0.7756 MB / 0.5283 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.4106, allocations: 1.033 MB / 0.5293 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000472/0.4111, allocations: 105.7 kB / 0.5294 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.4125, allocations: 363.1 kB / 0.5297 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.4135, allocations: 0.663 MB / 0.5304 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.4153, allocations: 0.6892 MB / 0.5311 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.4186, allocations: 1.723 MB / 0.5327 GB, free: 7.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4187, allocations: 3.984 kB / 0.5327 GB, free: 7.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4187, allocations: 1.281 kB / 0.5327 GB, free: 7.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.913e-05/0.4188, allocations: 0 / 0.5327 GB, free: 7.801 MB / 398.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.00502/0.4238, allocations: 1.588 MB / 0.5343 GB, free: 6.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4238, allocations: 12.67 kB / 0.5343 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.4255, allocations: 222.7 kB / 0.5345 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.428, allocations: 0.9458 MB / 0.5354 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.4281, allocations: 76.19 kB / 0.5355 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006487/0.4288, allocations: 194.1 kB / 0.5357 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.432, allocations: 1.557 MB / 0.5372 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.4321, allocations: 7.938 kB / 0.5372 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.4323, allocations: 37.61 kB / 0.5373 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007074/0.433, allocations: 147.2 kB / 0.5374 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.4356, allocations: 1.261 MB / 0.5386 GB, free: 4.082 MB / 398.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.009502/0.4451, allocations: 6.454 MB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.4468, allocations: 0.9072 MB / 0.5458 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.4476, allocations: 0.5122 MB / 0.5463 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.928e-05/0.4476, allocations: 16.98 kB / 0.5463 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4477, allocations: 47.55 kB / 0.5464 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.307e-06/0.4477, allocations: 0 / 0.5464 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006884/0.4546, allocations: 3.67 MB / 0.55 GB, free: 9.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4547, allocations: 90.05 kB / 0.5501 GB, free: 9.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.4556, allocations: 0.7312 MB / 0.5508 GB, free: 8.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.174e-05/0.4557, allocations: 41.7 kB / 0.5508 GB, free: 8.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.4561, allocations: 0.5496 MB / 0.5514 GB, free: 8.113 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.4564, allocations: 370.8 kB / 0.5517 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/0.4567, allocations: 234.8 kB / 0.5519 GB, free: 7.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4569, allocations: 422.8 kB / 0.5523 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008936/0.4578, allocations: 0.5608 MB / 0.5529 GB, free: 6.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.459, allocations: 0.8892 MB / 0.5537 GB, free: 5.508 MB / 414.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.008278/0.4673, allocations: 3.232 MB / 0.5569 GB, free: 2.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4673, allocations: 4 kB / 0.5569 GB, free: 2.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00578/0.4731, allocations: 2.736 MB / 0.5596 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.4731, allocations: 11.94 kB / 0.5596 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.4732, allocations: 8 kB / 0.5596 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.476, allocations: 1.156 MB / 0.5607 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.4769, allocations: 203.6 kB / 0.5609 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/0.4951, allocations: 12.28 MB / 0.5729 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.4962, allocations: 55.88 kB / 0.573 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.4965, allocations: 55.98 kB / 0.573 GB, free: 1.324 MB / 430.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.0008108/0.4973, allocations: 397.4 kB / 0.5734 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.4975, allocations: 94.86 kB / 0.5735 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.5, allocations: 1.411 MB / 0.5749 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.5001, allocations: 16 kB / 0.5749 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5001, allocations: 0 / 0.5749 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.5001, allocations: 7.969 kB / 0.5749 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.5049, allocations: 2.656 MB / 0.5775 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.505, allocations: 3.938 kB / 0.5775 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.5065, allocations: 275.9 kB / 0.5778 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.5067, allocations: 65.55 kB / 0.5778 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.5068, allocations: 35.98 kB / 0.5779 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.5089, allocations: 2.843 MB / 0.5806 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5089, allocations: 0 / 0.5806 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.5117, allocations: 1.893 MB / 0.5825 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/0.5123, allocations: 255.8 kB / 0.5827 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.5126, allocations: 39.98 kB / 0.5828 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/0.5133, allocations: 39.95 kB / 0.5828 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.5135, allocations: 76.78 kB / 0.5829 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.5135, allocations: 28 kB / 0.5829 GB, free: 6.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006451/0.5142, allocations: 499 kB / 0.5834 GB, free: 6.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.5142, allocations: 0 / 0.5834 GB, free: 6.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001472/0.5157, allocations: 379.9 kB / 0.5837 GB, free: 5.785 MB / 446.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.0001963/0.5159, allocations: 147 kB / 0.5839 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003843/0.5197, allocations: 2.119 MB / 0.5859 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5198, allocations: 0 / 0.5859 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.5209, allocations: 0.7545 MB / 0.5867 GB, free: 2.699 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.5222, allocations: 220 kB / 0.5869 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007038/0.5292, allocations: 4.143 MB / 0.5909 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.5303, allocations: 1.306 MB / 0.5922 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.5307, allocations: 79.42 kB / 0.5923 GB, free: 12.88 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5308, allocations: 0 / 0.5923 GB, free: 12.88 MB / 462.1 MB Notification: Performance of Templates: time 0.03299/0.5637, allocations: 23.95 MB / 0.6157 GB, free: 4.918 MB / 478.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