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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 107.9 kB / 17.06 MB, free: 6.016 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.002145/0.002145, allocations: 189.4 kB / 18 MB, free: 5.102 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.44/1.44, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1843/0.1843, allocations: 38.04 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 59.91 kB / 457.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 58.05 MB / 0.5036 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008098/0.3886, allocations: 7.624 MB / 0.5111 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008492/0.3972, allocations: 5.371 MB / 0.5163 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008004/0.398, allocations: 24.66 kB / 0.5163 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01328/0.4114, allocations: 5.191 MB / 0.5214 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.4141, allocations: 0.63 MB / 0.522 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.4156, allocations: 456.9 kB / 0.5225 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004799/0.4204, allocations: 2.213 MB / 0.5246 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.4223, allocations: 1.122 MB / 0.5257 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.4237, allocations: 0.6334 MB / 0.5263 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.425, allocations: 0.7341 MB / 0.5271 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.4252, allocations: 116.5 kB / 0.5272 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009808/0.4262, allocations: 396.3 kB / 0.5275 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.4269, allocations: 0.4886 MB / 0.528 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007453/0.4277, allocations: 0.6061 MB / 0.5286 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.43, allocations: 1.704 MB / 0.5303 GB, free: 8.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4301, allocations: 4 kB / 0.5303 GB, free: 8.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4301, allocations: 0 / 0.5303 GB, free: 8.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.4301, allocations: 1.125 kB / 0.5303 GB, free: 8.332 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.0038/0.4339, allocations: 1.461 MB / 0.5317 GB, free: 7.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.434, allocations: 12.77 kB / 0.5317 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.4342, allocations: 130 kB / 0.5318 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.4351, allocations: 163.6 kB / 0.532 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.4373, allocations: 0.9835 MB / 0.533 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.4374, allocations: 61.36 kB / 0.533 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.4376, allocations: 92.7 kB / 0.5331 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.4393, allocations: 1.063 MB / 0.5341 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.4394, allocations: 5.297 kB / 0.5342 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.4395, allocations: 35.39 kB / 0.5342 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/0.4397, allocations: 73.39 kB / 0.5343 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.4412, allocations: 0.8372 MB / 0.5351 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006413/0.4476, allocations: 3.971 MB / 0.539 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.4488, allocations: 0.6257 MB / 0.5396 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.4494, allocations: 318.6 kB / 0.5399 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/0.4495, allocations: 15.19 kB / 0.5399 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.4495, allocations: 38.41 kB / 0.5399 GB, free: 1.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 5.48e-06/0.4495, allocations: 0 / 0.5399 GB, free: 1.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.006007/0.4555, allocations: 2.609 MB / 0.5425 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.4557, allocations: 110.4 kB / 0.5426 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.4568, allocations: 0.7002 MB / 0.5433 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.4569, allocations: 36.27 kB / 0.5433 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.4573, allocations: 489.8 kB / 0.5438 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.4576, allocations: 248.7 kB / 0.544 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.4579, allocations: 153.1 kB / 0.5441 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.4582, allocations: 392.7 kB / 0.5445 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.4587, allocations: 309.2 kB / 0.5448 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/0.4595, allocations: 0.5146 MB / 0.5453 GB, free: 13.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/0.4635, allocations: 1.678 MB / 0.547 GB, free: 11.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4635, allocations: 0 / 0.547 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002467/0.466, allocations: 1.279 MB / 0.5482 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.466, allocations: 4 kB / 0.5482 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.466, allocations: 11.94 kB / 0.5482 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.4672, allocations: 405.6 kB / 0.5486 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.4677, allocations: 143.8 kB / 0.5487 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008468/0.4762, allocations: 6.247 MB / 0.5548 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.477, allocations: 35.94 kB / 0.5549 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.4772, allocations: 32 kB / 0.5549 GB, free: 3.094 MB / 414.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.0006633/0.4778, allocations: 357.5 kB / 0.5552 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.4781, allocations: 83.48 kB / 0.5553 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.4798, allocations: 0.9033 MB / 0.5562 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4798, allocations: 8 kB / 0.5562 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4798, allocations: 0 / 0.5562 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4799, allocations: 7.984 kB / 0.5562 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.4833, allocations: 2.002 MB / 0.5582 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4833, allocations: 3.938 kB / 0.5582 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.4839, allocations: 119.8 kB / 0.5583 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005992/0.4845, allocations: 186.6 kB / 0.5585 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.4846, allocations: 23.98 kB / 0.5585 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/0.4906, allocations: 5.488 MB / 0.5639 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4906, allocations: 0 / 0.5639 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.4932, allocations: 1.283 MB / 0.5651 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.4937, allocations: 208.5 kB / 0.5653 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.4939, allocations: 28.17 kB / 0.5653 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.4942, allocations: 16 kB / 0.5653 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4944, allocations: 52.48 kB / 0.5654 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/0.4945, allocations: 16 kB / 0.5654 GB, free: 7.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007898/0.4953, allocations: 0.4912 MB / 0.5659 GB, free: 7.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4953, allocations: 0 / 0.5659 GB, free: 7.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001195/0.4965, allocations: 247.9 kB / 0.5661 GB, free: 6.969 MB / 430.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.003695/0.5002, allocations: 2.141 MB / 0.5682 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.5025, allocations: 1.137 MB / 0.5693 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5025, allocations: 1.188 kB / 0.5693 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.5035, allocations: 0.7219 MB / 0.57 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5046, allocations: 178.6 kB / 0.5702 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.5181, allocations: 8.603 MB / 0.5786 GB, free: 9.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/0.5191, allocations: 1.158 MB / 0.5797 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005254/0.5197, allocations: 162.6 kB / 0.5799 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.5202, allocations: 355.3 kB / 0.5802 GB, free: 8.195 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5202, allocations: 0 / 0.5802 GB, free: 8.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0633/0.5835, allocations: 21.32 MB / 0.6011 GB, free: 3.047 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.03, allocations: 19.81 kB / 0.6011 GB, free: 3.027 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches