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) 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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007819/0.0007817, allocations: 90.31 kB / 16.65 MB, free: 6.348 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.0008359/0.0008359, allocations: 178 kB / 17.56 MB, free: 5.949 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.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1751/0.1751, allocations: 38.09 MB / 330.8 MB, free: 8.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 12 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09495, allocations: 59.17 MB / 459.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008949/0.1039, allocations: 8.572 MB / 468.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009152/0.1131, allocations: 5.895 MB / 474.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.1143, allocations: 51.69 kB / 474.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008048/0.1224, allocations: 4.734 MB / 479.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.1242, allocations: 0.5836 MB / 479.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1254, allocations: 412.6 kB / 480.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003406/0.1288, allocations: 2.943 MB / 483.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.1307, allocations: 1.26 MB / 484.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.1315, allocations: 0.4901 MB / 484.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000935/0.1325, allocations: 0.72 MB / 485.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1326, allocations: 48 kB / 485.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006843/0.1333, allocations: 335.5 kB / 485.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.1337, allocations: 438.7 kB / 486.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.1343, allocations: 0.5381 MB / 486.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.1358, allocations: 1.616 MB / 488.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1358, allocations: 4 kB / 488.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1358, allocations: 0 / 488.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1358, allocations: 0 / 488.5 MB, free: 10.29 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002791/0.1386, allocations: 1.218 MB / 489.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.1387, allocations: 12.03 kB / 489.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00087/0.1396, allocations: 155.5 kB / 489.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.1417, allocations: 0.9442 MB / 490.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.1418, allocations: 58 kB / 490.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.142, allocations: 87.89 kB / 491 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.1437, allocations: 1.067 MB / 492 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.1438, allocations: 8 kB / 492 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.1439, allocations: 32 kB / 492.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/0.1441, allocations: 73.95 kB / 492.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.1454, allocations: 0.8391 MB / 493 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005337/0.1508, allocations: 4.02 MB / 497 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/0.1518, allocations: 0.6299 MB / 497.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.1522, allocations: 317.8 kB / 497.9 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.1523, allocations: 8.562 kB / 498 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1523, allocations: 39.12 kB / 498 MB, free: 440 kB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.304e-06/0.1523, allocations: 0 / 498 MB, free: 440 kB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.0045/0.1568, allocations: 2.59 MB / 0.4889 GB, free: 13.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.1569, allocations: 115.4 kB / 0.489 GB, free: 13.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/0.1577, allocations: 0.6957 MB / 0.4896 GB, free: 12.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.1578, allocations: 37.7 kB / 0.4897 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.1581, allocations: 475.1 kB / 0.4901 GB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.1583, allocations: 248.6 kB / 0.4904 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.1584, allocations: 69.69 kB / 0.4904 GB, free: 12.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1586, allocations: 394.7 kB / 0.4908 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.159, allocations: 313.9 kB / 0.4911 GB, free: 11.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.1597, allocations: 0.5189 MB / 0.4916 GB, free: 10.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/0.1634, allocations: 1.672 MB / 0.4933 GB, free: 8.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1634, allocations: 4 kB / 0.4933 GB, free: 8.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002324/0.1658, allocations: 1.278 MB / 0.4945 GB, free: 7.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1658, allocations: 7.984 kB / 0.4945 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.1658, allocations: 8 kB / 0.4945 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.1669, allocations: 409.5 kB / 0.4949 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.1674, allocations: 151.8 kB / 0.4951 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.1745, allocations: 5.717 MB / 0.5006 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.1752, allocations: 27.98 kB / 0.5007 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.1752, allocations: 32 kB / 0.5007 GB, free: 1.051 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $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.000615/0.1759, allocations: 357.5 kB / 0.501 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.176, allocations: 82.91 kB / 0.5011 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2093/0.3853, allocations: 0.8902 MB / 0.502 GB, free: 47.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.3854, allocations: 7.188 kB / 0.502 GB, free: 47.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3854, allocations: 3.266 kB / 0.502 GB, free: 47.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.3854, allocations: 3.859 kB / 0.502 GB, free: 47.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.3898, allocations: 2.012 MB / 0.504 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.3898, allocations: 8.375 kB / 0.504 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.3905, allocations: 114.5 kB / 0.5041 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005499/0.391, allocations: 186 kB / 0.5043 GB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.3911, allocations: 23.03 kB / 0.5043 GB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003695/0.3948, allocations: 5.009 MB / 0.5092 GB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3948, allocations: 5.094 kB / 0.5092 GB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.3974, allocations: 1.264 MB / 0.5104 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.3979, allocations: 209.1 kB / 0.5106 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3981, allocations: 23.38 kB / 0.5106 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.3985, allocations: 21.3 kB / 0.5107 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3987, allocations: 49.27 kB / 0.5107 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.3987, allocations: 19.67 kB / 0.5107 GB, free: 42.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000838/0.3996, allocations: 0.4923 MB / 0.5112 GB, free: 42.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3996, allocations: 0 / 0.5112 GB, free: 42.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4008, allocations: 249.6 kB / 0.5114 GB, free: 42.43 MB / 382.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.0009857/0.4017, allocations: 434 kB / 0.5119 GB, free: 42.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.4037, allocations: 1.13 MB / 0.513 GB, free: 42.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4037, allocations: 1.219 kB / 0.513 GB, free: 42.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009347/0.4046, allocations: 0.715 MB / 0.5137 GB, free: 41.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4057, allocations: 173 kB / 0.5138 GB, free: 41.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.4099, allocations: 3.086 MB / 0.5168 GB, free: 40.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/0.4109, allocations: 1.147 MB / 0.518 GB, free: 39.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006509/0.4115, allocations: 163.3 kB / 0.5181 GB, free: 39.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.4117, allocations: 57.72 kB / 0.5182 GB, free: 39.36 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4117, allocations: 0 / 0.5182 GB, free: 39.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02074/0.4325, allocations: 11.78 MB / 0.5297 GB, free: 35.75 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (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) 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) Reference file matches