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.001474/0.001474, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.001327/0.001327, allocations: 198.9 kB / 18 MB, free: 5.078 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1734/0.1735, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.89 kB / 458.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4487, allocations: 58.05 MB / 0.5041 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009259/0.458, allocations: 7.621 MB / 0.5116 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009565/0.4676, allocations: 5.371 MB / 0.5168 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.4687, allocations: 25.25 kB / 0.5168 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0133/0.482, allocations: 5.193 MB / 0.5219 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.4856, allocations: 0.6297 MB / 0.5225 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.4877, allocations: 458 kB / 0.5229 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005075/0.4927, allocations: 2.208 MB / 0.5251 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.4947, allocations: 1.121 MB / 0.5262 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.4963, allocations: 0.6455 MB / 0.5268 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.4978, allocations: 0.7394 MB / 0.5275 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.4981, allocations: 115.8 kB / 0.5277 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.4993, allocations: 397.3 kB / 0.528 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007295/0.5001, allocations: 0.4922 MB / 0.5285 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008544/0.501, allocations: 0.6047 MB / 0.5291 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.5036, allocations: 1.71 MB / 0.5308 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5036, allocations: 0 / 0.5308 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.5037, allocations: 4.922 kB / 0.5308 GB, free: 8.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.5037, allocations: 0 / 0.5308 GB, free: 8.492 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.002959/0.5067, allocations: 1.413 MB / 0.5322 GB, free: 7.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5067, allocations: 16.86 kB / 0.5322 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007451/0.5075, allocations: 152.7 kB / 0.5323 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.5095, allocations: 0.9739 MB / 0.5333 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.5096, allocations: 62.23 kB / 0.5333 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.5098, allocations: 92.5 kB / 0.5334 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.5116, allocations: 1.066 MB / 0.5345 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.5117, allocations: 3.25 kB / 0.5345 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.5118, allocations: 30.83 kB / 0.5345 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/0.512, allocations: 74.3 kB / 0.5346 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.5135, allocations: 0.8326 MB / 0.5354 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.5195, allocations: 3.97 MB / 0.5393 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5206, allocations: 0.6176 MB / 0.5399 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.5211, allocations: 314.4 kB / 0.5402 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.5212, allocations: 11.62 kB / 0.5402 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.5212, allocations: 41.38 kB / 0.5402 GB, free: 1.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 4.137e-06/0.5212, allocations: 5.484 kB / 0.5402 GB, free: 1.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.00486/0.5261, allocations: 2.589 MB / 0.5427 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.5262, allocations: 111.1 kB / 0.5429 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.5271, allocations: 0.6952 MB / 0.5435 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.5271, allocations: 36.27 kB / 0.5436 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.5275, allocations: 486.2 kB / 0.544 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.5277, allocations: 234 kB / 0.5443 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.5279, allocations: 146.1 kB / 0.5444 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5281, allocations: 399.7 kB / 0.5448 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.5286, allocations: 308.7 kB / 0.5451 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.5293, allocations: 0.511 MB / 0.5456 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.5329, allocations: 1.672 MB / 0.5472 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5329, allocations: 4 kB / 0.5472 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002225/0.5352, allocations: 1.271 MB / 0.5484 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5352, allocations: 11.94 kB / 0.5485 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5352, allocations: 15.94 kB / 0.5485 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5363, allocations: 397.6 kB / 0.5488 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.5369, allocations: 151.8 kB / 0.549 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007526/0.5444, allocations: 6.236 MB / 0.5551 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/0.5452, allocations: 35.83 kB / 0.5551 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.5453, allocations: 35.98 kB / 0.5552 GB, free: 3.285 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.0007491/0.5461, allocations: 353.5 kB / 0.5555 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.5462, allocations: 75.06 kB / 0.5556 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.5479, allocations: 0.9034 MB / 0.5564 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.5479, allocations: 8 kB / 0.5564 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5479, allocations: 0 / 0.5564 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.5479, allocations: 3.984 kB / 0.5565 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.5513, allocations: 2.006 MB / 0.5584 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.5514, allocations: 7.984 kB / 0.5584 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.552, allocations: 115.8 kB / 0.5585 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005232/0.5525, allocations: 194.5 kB / 0.5587 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.5526, allocations: 28 kB / 0.5587 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.5571, allocations: 5.492 MB / 0.5641 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5571, allocations: 0 / 0.5641 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.5591, allocations: 1.271 MB / 0.5653 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.5596, allocations: 204.1 kB / 0.5655 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5597, allocations: 19.98 kB / 0.5656 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.56, allocations: 16 kB / 0.5656 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5602, allocations: 48.48 kB / 0.5656 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.5602, allocations: 24 kB / 0.5656 GB, free: 7.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007625/0.561, allocations: 0.4912 MB / 0.5661 GB, free: 7.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.561, allocations: 0 / 0.5661 GB, free: 7.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001314/0.5623, allocations: 240 kB / 0.5664 GB, free: 7.184 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.001163/0.5635, allocations: 434.1 kB / 0.5668 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.5656, allocations: 1.137 MB / 0.5679 GB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5656, allocations: 4 kB / 0.5679 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.5665, allocations: 0.7153 MB / 0.5686 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.5674, allocations: 199 kB / 0.5688 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.5715, allocations: 2.47 MB / 0.5712 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.5723, allocations: 1.142 MB / 0.5723 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004515/0.5728, allocations: 166.6 kB / 0.5725 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.5729, allocations: 63.44 kB / 0.5725 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5729, allocations: 0 / 0.5725 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of Templates: time 0.02247/0.5954, allocations: 12.92 MB / 0.5851 GB, free: 4.051 MB / 446.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