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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001719/0.001719, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 223.1 MB, free: 8.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 108.5 kB / 270.5 MB, free: 8.418 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1829/0.1829, allocations: 38.01 MB / 355.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.92 kB / 421.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3201, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01166/0.3318, allocations: 9.063 MB / 486.2 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3424, allocations: 5.946 MB / 492.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.3445, allocations: 58.03 kB / 492.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.3564, allocations: 5.082 MB / 497.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3584, allocations: 0.5949 MB / 497.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.3597, allocations: 398.3 kB / 498.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005274/0.3649, allocations: 2.944 MB / 0.4894 GB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.3667, allocations: 0.9626 MB / 0.4904 GB, free: 11.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.3679, allocations: 0.5331 MB / 0.4909 GB, free: 10.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.3696, allocations: 0.7571 MB / 0.4916 GB, free: 10.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.3698, allocations: 64.41 kB / 0.4917 GB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.371, allocations: 351.6 kB / 0.492 GB, free: 10.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006431/0.3717, allocations: 452.9 kB / 0.4925 GB, free: 10.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.3724, allocations: 0.5481 MB / 0.493 GB, free: 9.656 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.3743, allocations: 1.665 MB / 0.4946 GB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3743, allocations: 0 / 0.4946 GB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3743, allocations: 1.375 kB / 0.4946 GB, free: 8.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.3744, allocations: 0 / 0.4946 GB, free: 8.473 MB / 330.7 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.003123/0.3775, allocations: 1.428 MB / 0.496 GB, free: 7.383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3775, allocations: 9.781 kB / 0.496 GB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.3783, allocations: 148.2 kB / 0.4962 GB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.3801, allocations: 0.9452 MB / 0.4971 GB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.3802, allocations: 57.94 kB / 0.4971 GB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.3804, allocations: 92.95 kB / 0.4972 GB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3819, allocations: 1.073 MB / 0.4983 GB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.382, allocations: 0 / 0.4983 GB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.3821, allocations: 32 kB / 0.4983 GB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.3823, allocations: 73.95 kB / 0.4984 GB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3835, allocations: 0.8353 MB / 0.4992 GB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/0.389, allocations: 4.008 MB / 0.5031 GB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.39, allocations: 0.6251 MB / 0.5037 GB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/0.3905, allocations: 319.2 kB / 0.504 GB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.3905, allocations: 4.562 kB / 0.504 GB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3906, allocations: 47.06 kB / 0.5041 GB, free: 15.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 2.835e-06/0.3906, allocations: 336 / 0.5041 GB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.004497/0.3951, allocations: 2.587 MB / 0.5066 GB, free: 12.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.3952, allocations: 111.4 kB / 0.5067 GB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/0.396, allocations: 0.6957 MB / 0.5074 GB, free: 11.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.3961, allocations: 41.7 kB / 0.5074 GB, free: 11.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.3964, allocations: 483.1 kB / 0.5079 GB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.3965, allocations: 232.6 kB / 0.5081 GB, free: 11.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3968, allocations: 150.6 kB / 0.5083 GB, free: 11.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3969, allocations: 390.7 kB / 0.5086 GB, free: 10.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.3974, allocations: 313.8 kB / 0.5089 GB, free: 10.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.398, allocations: 0.5115 MB / 0.5094 GB, free: 9.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.4016, allocations: 1.676 MB / 0.5111 GB, free: 7.949 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4016, allocations: 0 / 0.5111 GB, free: 7.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00217/0.4038, allocations: 1.271 MB / 0.5123 GB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4038, allocations: 11.94 kB / 0.5123 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4038, allocations: 4 kB / 0.5123 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.4049, allocations: 413.5 kB / 0.5127 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.4054, allocations: 143.8 kB / 0.5129 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007052/0.4125, allocations: 5.734 MB / 0.5185 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.4132, allocations: 27.98 kB / 0.5185 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.4133, allocations: 32 kB / 0.5185 GB, free: 12 kB / 346.7 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.0006063/0.4139, allocations: 361.5 kB / 0.5189 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.4141, allocations: 82.95 kB / 0.5189 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.4157, allocations: 0.8918 MB / 0.5198 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.4158, allocations: 7.938 kB / 0.5198 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4158, allocations: 4 kB / 0.5198 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4158, allocations: 3.984 kB / 0.5198 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.4191, allocations: 2.009 MB / 0.5218 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4191, allocations: 4 kB / 0.5218 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.4197, allocations: 115.9 kB / 0.5219 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005404/0.4203, allocations: 198.3 kB / 0.5221 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.4203, allocations: 19.98 kB / 0.5221 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.4244, allocations: 5.008 MB / 0.527 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4245, allocations: 0 / 0.527 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.4393, allocations: 11.62 MB / 0.5383 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.4397, allocations: 208 kB / 0.5385 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/0.4398, allocations: 20.19 kB / 0.5386 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.4402, allocations: 19.98 kB / 0.5386 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.4403, allocations: 52.55 kB / 0.5386 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.4404, allocations: 23.92 kB / 0.5387 GB, free: 10.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006044/0.441, allocations: 499 kB / 0.5391 GB, free: 9.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.441, allocations: 4 kB / 0.5391 GB, free: 9.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001306/0.4423, allocations: 347.9 kB / 0.5395 GB, free: 9.336 MB / 378.7 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.0009786/0.4433, allocations: 459.2 kB / 0.5399 GB, free: 8.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.4452, allocations: 1.134 MB / 0.541 GB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4452, allocations: 0 / 0.541 GB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009137/0.4461, allocations: 0.7179 MB / 0.5417 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/0.447, allocations: 171.1 kB / 0.5419 GB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.4521, allocations: 3.726 MB / 0.5455 GB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/0.453, allocations: 1.176 MB / 0.5467 GB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006347/0.4537, allocations: 178.5 kB / 0.5468 GB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.4539, allocations: 67.42 kB / 0.5469 GB, free: 1.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.041e-06/0.4539, allocations: 0 / 0.5469 GB, free: 1.59 MB / 378.7 MB Notification: Performance of Templates: time 0.0227/0.4766, allocations: 14.52 MB / 0.5611 GB, free: 3.035 MB / 394.7 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@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches