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.002275/0.002275, allocations: 108.4 kB / 17.74 MB, free: 5.34 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.002532/0.002533, allocations: 183 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.737/2.737, allocations: 222.9 MB / 242.4 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.4653/0.4653, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 67.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8451/0.8481, allocations: 58.06 MB / 0.5048 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01778/0.866, allocations: 7.627 MB / 0.5122 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.8815, allocations: 5.37 MB / 0.5175 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.8837, allocations: 25.34 kB / 0.5175 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02603/0.9098, allocations: 5.18 MB / 0.5225 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005353/0.9152, allocations: 0.6409 MB / 0.5232 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003711/0.9189, allocations: 449.4 kB / 0.5236 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.9299, allocations: 2.204 MB / 0.5258 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00474/0.9347, allocations: 1.131 MB / 0.5269 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.9385, allocations: 0.6457 MB / 0.5275 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003851/0.9424, allocations: 0.7286 MB / 0.5282 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000807/0.9433, allocations: 116.5 kB / 0.5283 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.946, allocations: 398.5 kB / 0.5287 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.9475, allocations: 0.4987 MB / 0.5292 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.9491, allocations: 0.5965 MB / 0.5298 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009718/0.9589, allocations: 1.711 MB / 0.5314 GB, free: 8.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.959e-05/0.959, allocations: 1.094 kB / 0.5314 GB, free: 8.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.959, allocations: 3.938 kB / 0.5314 GB, free: 8.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.9592, allocations: 3.938 kB / 0.5314 GB, free: 8.539 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.01206/0.9712, allocations: 1.42 MB / 0.5328 GB, free: 7.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.984e-05/0.9713, allocations: 13.08 kB / 0.5328 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.9732, allocations: 152.4 kB / 0.533 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004873/0.9781, allocations: 0.9705 MB / 0.5339 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.9783, allocations: 69.75 kB / 0.534 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/0.9789, allocations: 92.5 kB / 0.5341 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0088/0.9877, allocations: 1.062 MB / 0.5351 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.953e-05/0.9879, allocations: 6.781 kB / 0.5351 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.988, allocations: 31.8 kB / 0.5352 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004946/0.9886, allocations: 73.14 kB / 0.5352 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.9916, allocations: 0.8359 MB / 0.5361 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/1.003, allocations: 3.97 MB / 0.5399 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/1.005, allocations: 0.6149 MB / 0.5405 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/1.006, allocations: 313.6 kB / 0.5408 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.31e-05/1.006, allocations: 11.42 kB / 0.5408 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/1.006, allocations: 41.88 kB / 0.5409 GB, free: 1.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 5.48e-06/1.006, allocations: 0 / 0.5409 GB, free: 1.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.008858/1.015, allocations: 2.579 MB / 0.5434 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/1.015, allocations: 109.6 kB / 0.5435 GB, free: 15.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/1.017, allocations: 0.7004 MB / 0.5442 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/1.017, allocations: 39.98 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/1.017, allocations: 482 kB / 0.5447 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/1.018, allocations: 233.5 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/1.018, allocations: 153.7 kB / 0.5451 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00044/1.019, allocations: 392.2 kB / 0.5454 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/1.02, allocations: 316 kB / 0.5457 GB, free: 14.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/1.021, allocations: 0.5111 MB / 0.5462 GB, free: 13.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006327/1.027, allocations: 1.679 MB / 0.5479 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/1.027, allocations: 0 / 0.5479 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004159/1.031, allocations: 1.27 MB / 0.5491 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/1.031, allocations: 8.312 kB / 0.5491 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.031, allocations: 12 kB / 0.5491 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/1.033, allocations: 401.3 kB / 0.5495 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009031/1.034, allocations: 151.7 kB / 0.5497 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.047, allocations: 6.242 MB / 0.5558 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.048, allocations: 35.83 kB / 0.5558 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.048, allocations: 32 kB / 0.5558 GB, free: 3.27 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.001174/1.05, allocations: 353.5 kB / 0.5562 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/1.05, allocations: 83.06 kB / 0.5562 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/1.053, allocations: 0.8955 MB / 0.5571 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.053, allocations: 8 kB / 0.5571 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.053, allocations: 0 / 0.5571 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.053, allocations: 7.938 kB / 0.5571 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/1.058, allocations: 2.01 MB / 0.5591 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.058, allocations: 4 kB / 0.5591 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/1.059, allocations: 120 kB / 0.5592 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008989/1.06, allocations: 186.4 kB / 0.5594 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.452e-05/1.06, allocations: 19.98 kB / 0.5594 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008291/1.069, allocations: 5.492 MB / 0.5648 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.069, allocations: 0 / 0.5648 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/1.072, allocations: 1.271 MB / 0.566 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/1.073, allocations: 208 kB / 0.5662 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/1.074, allocations: 27.98 kB / 0.5662 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/1.074, allocations: 12 kB / 0.5662 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/1.074, allocations: 56.44 kB / 0.5663 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/1.075, allocations: 19.98 kB / 0.5663 GB, free: 7.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001262/1.076, allocations: 499 kB / 0.5668 GB, free: 7.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.076, allocations: 0 / 0.5668 GB, free: 7.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002056/1.078, allocations: 244 kB / 0.567 GB, free: 7.164 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.001957/1.08, allocations: 428.4 kB / 0.5674 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003716/1.084, allocations: 1.145 MB / 0.5685 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.084, allocations: 0 / 0.5685 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.086, allocations: 0.7153 MB / 0.5692 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.087, allocations: 194.3 kB / 0.5694 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/1.095, allocations: 2.563 MB / 0.5719 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.097, allocations: 1.146 MB / 0.5731 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/1.097, allocations: 63.42 kB / 0.5731 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/1.097, allocations: 0 / 0.5731 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of Templates: time 0.0487/1.146, allocations: 22.82 MB / 0.5954 GB, free: 10.12 MB / 462.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/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