Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 184 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1882/0.1882, allocations: 38.54 MB / 346.3 MB, free: 2.152 MB / 270.1 MB
"
[Timeout remaining time 180]
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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine")
translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.88 kB / 484.6 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 61.28 MB / 0.533 GB, free: 5.586 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008814/0.3912, allocations: 7.831 MB / 0.5407 GB, free: 15.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01095/0.4022, allocations: 5.438 MB / 0.546 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4033, allocations: 33.75 kB / 0.546 GB, free: 11.47 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01634/0.4197, allocations: 5.822 MB / 0.5517 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002865/0.4225, allocations: 0.6449 MB / 0.5523 GB, free: 7.637 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.4245, allocations: 452.3 kB / 0.5528 GB, free: 7.281 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005051/0.4295, allocations: 2.295 MB / 0.555 GB, free: 5.629 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.4314, allocations: 0.8742 MB / 0.5559 GB, free: 4.727 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.4332, allocations: 0.6579 MB / 0.5565 GB, free: 4.066 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.435, allocations: 0.798 MB / 0.5573 GB, free: 3.266 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004491/0.4354, allocations: 116 kB / 0.5574 GB, free: 3.152 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.4368, allocations: 419.5 kB / 0.5578 GB, free: 2.742 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008415/0.4376, allocations: 0.5065 MB / 0.5583 GB, free: 2.234 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001739/0.4394, allocations: 0.5989 MB / 0.5589 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003487/0.4429, allocations: 1.713 MB / 0.5606 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.416e-05/0.4429, allocations: 0 / 0.5606 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.753e-06/0.4429, allocations: 0 / 0.5606 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 7.883e-05/0.443, allocations: 0 / 0.5606 GB, free: 15.91 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: 208
 * Number of variables: 208
Notification: Performance of Generate backend data structure: time 0.004308/0.4473, allocations: 1.375 MB / 0.5619 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4473, allocations: 12.03 kB / 0.5619 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008975/0.4482, allocations: 164.1 kB / 0.5621 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.4503, allocations: 0.9042 MB / 0.563 GB, free: 13.4 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.4504, allocations: 58 kB / 0.563 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.4506, allocations: 95.92 kB / 0.5631 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.4525, allocations: 1.063 MB / 0.5641 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.4525, allocations: 0 / 0.5641 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/0.4526, allocations: 31.98 kB / 0.5642 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002413/0.4528, allocations: 73.95 kB / 0.5642 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.4543, allocations: 0.8392 MB / 0.5651 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006745/0.461, allocations: 3.895 MB / 0.5689 GB, free: 7.133 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.4621, allocations: 0.5187 MB / 0.5694 GB, free: 6.598 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.4626, allocations: 302.2 kB / 0.5697 GB, free: 6.301 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.4627, allocations: 8.484 kB / 0.5697 GB, free: 6.293 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.4627, allocations: 39.06 kB / 0.5697 GB, free: 6.246 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=57): time 2.475e-06/0.4627, allocations: 0 / 0.5697 GB, free: 6.246 MB / 414.1 MB
Notification: Performance of matching and sorting (n=65): time 0.005144/0.4678, allocations: 2.371 MB / 0.572 GB, free: 3.836 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.4679, allocations: 111.5 kB / 0.5721 GB, free: 3.703 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.4689, allocations: 0.6996 MB / 0.5728 GB, free: 2.992 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.4689, allocations: 41.7 kB / 0.5728 GB, free: 2.945 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.4693, allocations: 484.2 kB / 0.5733 GB, free: 2.465 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.4696, allocations: 249.9 kB / 0.5735 GB, free: 2.219 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.4698, allocations: 150.6 kB / 0.5737 GB, free: 2.066 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002139/0.47, allocations: 394.8 kB / 0.5741 GB, free: 1.672 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.4705, allocations: 309.8 kB / 0.5744 GB, free: 1.367 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.4712, allocations: 0.5188 MB / 0.5749 GB, free: 0.7617 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003991/0.4752, allocations: 1.593 MB / 0.5764 GB, free: 15.08 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4752, allocations: 4 kB / 0.5764 GB, free: 15.07 MB / 430.1 MB
Notification: Performance of matching and sorting (n=103) (initialization): time 0.002445/0.4777, allocations: 1.267 MB / 0.5777 GB, free: 13.79 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.4777, allocations: 11.94 kB / 0.5777 GB, free: 13.78 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4777, allocations: 8 kB / 0.5777 GB, free: 13.77 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4789, allocations: 405.5 kB / 0.5781 GB, free: 13.37 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.4794, allocations: 155.7 kB / 0.5782 GB, free: 13.22 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008531/0.488, allocations: 6.024 MB / 0.5841 GB, free: 6.953 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/0.4886, allocations: 39.88 kB / 0.5841 GB, free: 6.914 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.4887, allocations: 28 kB / 0.5842 GB, free: 6.887 MB / 430.1 MB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         $DER.windGen.WT.turbine.w = 0.0.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 28
 * Number of states: 0 ()
 * 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 initialization (75):
 * Single equations (assignments): 73
 * 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,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(4,21)}
Notification: Performance of prepare postOptimizeDAE: time 0.0006421/0.4893, allocations: 357.5 kB / 0.5845 GB, free: 6.527 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.4895, allocations: 79.48 kB / 0.5846 GB, free: 6.449 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.4912, allocations: 0.8979 MB / 0.5855 GB, free: 5.523 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4912, allocations: 11.94 kB / 0.5855 GB, free: 5.512 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.4912, allocations: 4 kB / 0.5855 GB, free: 5.508 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4912, allocations: 3.984 kB / 0.5855 GB, free: 5.504 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.4947, allocations: 1.976 MB / 0.5874 GB, free: 3.43 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4947, allocations: 4 kB / 0.5874 GB, free: 3.426 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.4953, allocations: 115.9 kB / 0.5875 GB, free: 3.312 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000588/0.4959, allocations: 190.6 kB / 0.5877 GB, free: 3.117 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.496, allocations: 27.98 kB / 0.5877 GB, free: 3.09 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/0.5011, allocations: 5.166 MB / 0.5928 GB, free: 13.58 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5011, allocations: 7.969 kB / 0.5928 GB, free: 13.57 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.5034, allocations: 1.266 MB / 0.594 GB, free: 12.26 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.5038, allocations: 143.3 kB / 0.5942 GB, free: 12.12 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5039, allocations: 16 kB / 0.5942 GB, free: 12.11 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.5042, allocations: 19.98 kB / 0.5942 GB, free: 12.09 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5043, allocations: 56.28 kB / 0.5942 GB, free: 12.03 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.5044, allocations: 20 kB / 0.5943 GB, free: 12.01 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0007497/0.5051, allocations: 0.4912 MB / 0.5947 GB, free: 11.52 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.5051, allocations: 0 / 0.5947 GB, free: 11.52 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001136/0.5063, allocations: 247.9 kB / 0.595 GB, free: 11.28 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2])
 * 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 (54):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/0.5078, allocations: 428.3 kB / 0.5954 GB, free: 11 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002151/0.51, allocations: 1.09 MB / 0.5965 GB, free: 9.883 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.51, allocations: 0 / 0.5965 GB, free: 9.883 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00106/0.511, allocations: 0.7031 MB / 0.5971 GB, free: 9.145 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.512, allocations: 195.8 kB / 0.5973 GB, free: 8.969 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.5166, allocations: 2.531 MB / 0.5998 GB, free: 6.391 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5176, allocations: 1.15 MB / 0.6009 GB, free: 5.211 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0005057/0.5181, allocations: 162.6 kB / 0.6011 GB, free: 5.047 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.5183, allocations: 63.42 kB / 0.6011 GB, free: 4.984 MB / 446.1 MB
Notification: Performance of SimCode: time 5.71e-07/0.5183, allocations: 0 / 0.6011 GB, free: 4.984 MB / 446.1 MB
Notification: Performance of Templates: time 0.02581/0.5441, allocations: 13.39 MB / 0.6142 GB, free: 7.684 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.940056913532317]