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.001342/0.001342, allocations: 107.2 kB / 16.92 MB, free: 5.848 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.001471/0.001471, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.34/1.34, allocations: 222.9 MB / 241.5 MB, free: 15.26 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.04 MB / 329.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 65.44 kB / 398.8 MB, free: 34.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 58.06 MB / 456.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.0108/0.1245, allocations: 7.613 MB / 464.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008466/0.133, allocations: 5.382 MB / 469.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008342/0.1338, allocations: 27.88 kB / 469.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.1448, allocations: 5.175 MB / 475.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.1468, allocations: 0.6377 MB / 475.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1481, allocations: 450.4 kB / 476.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003292/0.1514, allocations: 2.202 MB / 478.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.1534, allocations: 1.127 MB / 479.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.155, allocations: 0.6266 MB / 480.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.1565, allocations: 0.7396 MB / 480.8 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.1569, allocations: 116 kB / 481 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1581, allocations: 395.5 kB / 481.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006924/0.1588, allocations: 0.491 MB / 481.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.1599, allocations: 0.6027 MB / 482.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.1624, allocations: 1.69 MB / 484.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1624, allocations: 0 / 484.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1624, allocations: 3.938 kB / 484.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.988e-05/0.1625, allocations: 0 / 484.1 MB, free: 12.72 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.003972/0.1664, allocations: 1.428 MB / 485.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1665, allocations: 15.89 kB / 485.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.1674, allocations: 151.5 kB / 485.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.1695, allocations: 0.9405 MB / 486.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.1695, allocations: 65.92 kB / 486.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.1698, allocations: 87.98 kB / 486.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.1715, allocations: 1.067 MB / 487.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.1715, allocations: 11.89 kB / 487.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.1716, allocations: 32 kB / 487.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/0.1718, allocations: 65.95 kB / 488 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.1732, allocations: 0.8392 MB / 488.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005913/0.1791, allocations: 4.016 MB / 492.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1802, allocations: 0.6183 MB / 493.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.1806, allocations: 321.5 kB / 493.8 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.1807, allocations: 8.562 kB / 493.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1807, allocations: 35.12 kB / 493.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.435e-06/0.1807, allocations: 0 / 493.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004919/0.1857, allocations: 2.593 MB / 496.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.1857, allocations: 115.4 kB / 496.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/0.1866, allocations: 0.6918 MB / 497.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.1867, allocations: 41.7 kB / 497.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.1871, allocations: 479.4 kB / 497.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.1873, allocations: 232.6 kB / 497.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.1875, allocations: 150.6 kB / 498.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1877, allocations: 402.7 kB / 498.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.1881, allocations: 313.8 kB / 498.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.1888, allocations: 0.5033 MB / 499.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.1925, allocations: 1.676 MB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1926, allocations: 4 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002283/0.1949, allocations: 1.27 MB / 0.4905 GB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.1949, allocations: 15.92 kB / 0.4905 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1949, allocations: 8 kB / 0.4905 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.196, allocations: 409.5 kB / 0.4909 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.1966, allocations: 151.7 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.2048, allocations: 6.244 MB / 0.4971 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.2054, allocations: 27.98 kB / 0.4972 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.2055, allocations: 36 kB / 0.4972 GB, free: 2.668 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 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.0006187/0.2061, allocations: 349.5 kB / 0.4975 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.2064, allocations: 86.97 kB / 0.4976 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.2083, allocations: 0.8916 MB / 0.4985 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.2084, allocations: 8 kB / 0.4985 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.2084, allocations: 4 kB / 0.4985 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2084, allocations: 7.922 kB / 0.4985 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.2119, allocations: 2.005 MB / 0.5005 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2119, allocations: 0 / 0.5005 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.2125, allocations: 124 kB / 0.5006 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006173/0.2132, allocations: 190.3 kB / 0.5008 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.2133, allocations: 27.98 kB / 0.5008 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.2182, allocations: 5.484 MB / 0.5061 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2182, allocations: 4.281 kB / 0.5061 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.2203, allocations: 1.266 MB / 0.5074 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.2206, allocations: 208 kB / 0.5076 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.2208, allocations: 27.94 kB / 0.5076 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.2212, allocations: 19.98 kB / 0.5076 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2214, allocations: 48.44 kB / 0.5077 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.2214, allocations: 19.98 kB / 0.5077 GB, free: 7.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007289/0.2221, allocations: 0.4912 MB / 0.5082 GB, free: 6.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2221, allocations: 4 kB / 0.5082 GB, free: 6.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001117/0.2233, allocations: 252 kB / 0.5084 GB, free: 6.559 MB / 398.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.001005/0.2243, allocations: 416.9 kB / 0.5088 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.2267, allocations: 1.251 MB / 0.51 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.2267, allocations: 0 / 0.51 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.2278, allocations: 0.7192 MB / 0.5107 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/0.2288, allocations: 192.5 kB / 0.5109 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.233, allocations: 2.508 MB / 0.5134 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009857/0.234, allocations: 1.15 MB / 0.5145 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000531/0.2346, allocations: 166.5 kB / 0.5146 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.2348, allocations: 55.44 kB / 0.5147 GB, free: 124 kB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2348, allocations: 0 / 0.5147 GB, free: 124 kB / 398.1 MB Notification: Performance of Templates: time 0.2065/0.4413, allocations: 12.44 MB / 0.5269 GB, free: 66.78 MB / 398.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