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.001314/0.001314, allocations: 113.9 kB / 17.07 MB, free: 5.973 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.001262/0.001262, allocations: 198.8 kB / 18 MB, free: 5.059 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1747/0.1747, allocations: 38.04 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 67.89 kB / 458.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4611, allocations: 58.06 MB / 0.5041 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008473/0.4697, allocations: 7.624 MB / 0.5116 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008972/0.4787, allocations: 5.369 MB / 0.5168 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.4795, allocations: 25.97 kB / 0.5168 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01415/0.4936, allocations: 5.198 MB / 0.5219 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.4962, allocations: 0.642 MB / 0.5225 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.4979, allocations: 454.9 kB / 0.523 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004501/0.5024, allocations: 2.209 MB / 0.5251 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.5049, allocations: 1.124 MB / 0.5262 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.5069, allocations: 0.653 MB / 0.5269 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.5089, allocations: 0.7299 MB / 0.5276 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.5094, allocations: 117 kB / 0.5277 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.5109, allocations: 392.1 kB / 0.528 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.512, allocations: 0.4959 MB / 0.5285 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.5137, allocations: 0.6061 MB / 0.5291 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.5168, allocations: 1.705 MB / 0.5308 GB, free: 8.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5169, allocations: 3.938 kB / 0.5308 GB, free: 8.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5169, allocations: 0 / 0.5308 GB, free: 8.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.01e-05/0.517, allocations: 9.172 kB / 0.5308 GB, free: 8.508 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.004539/0.5215, allocations: 1.412 MB / 0.5322 GB, free: 7.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5216, allocations: 14.11 kB / 0.5322 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.5224, allocations: 151.6 kB / 0.5323 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.5244, allocations: 0.9744 MB / 0.5333 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.5244, allocations: 62.05 kB / 0.5334 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.5247, allocations: 100.6 kB / 0.5334 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5265, allocations: 1.058 MB / 0.5345 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.5265, allocations: 2.688 kB / 0.5345 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.5266, allocations: 39.48 kB / 0.5345 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/0.5269, allocations: 72.52 kB / 0.5346 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.5286, allocations: 0.8368 MB / 0.5354 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/0.5355, allocations: 3.97 MB / 0.5393 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.5366, allocations: 0.6102 MB / 0.5399 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.5371, allocations: 323.1 kB / 0.5402 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.5371, allocations: 10.28 kB / 0.5402 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.5372, allocations: 38.44 kB / 0.5402 GB, free: 1.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 3.076e-06/0.5372, allocations: 0 / 0.5402 GB, free: 1.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.005027/0.5422, allocations: 2.58 MB / 0.5428 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.5423, allocations: 110 kB / 0.5429 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5434, allocations: 0.6999 MB / 0.5435 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.5434, allocations: 44.36 kB / 0.5436 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.5438, allocations: 481.1 kB / 0.544 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.544, allocations: 234.7 kB / 0.5443 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.5443, allocations: 149.7 kB / 0.5444 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.5445, allocations: 396 kB / 0.5448 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.545, allocations: 308.8 kB / 0.5451 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.5456, allocations: 0.5111 MB / 0.5456 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.5492, allocations: 1.679 MB / 0.5472 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5493, allocations: 7.938 kB / 0.5472 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002486/0.5518, allocations: 1.267 MB / 0.5485 GB, free: 10.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.5518, allocations: 11.94 kB / 0.5485 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.5518, allocations: 8 kB / 0.5485 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.553, allocations: 401.6 kB / 0.5489 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.5536, allocations: 151.7 kB / 0.549 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/0.5619, allocations: 6.237 MB / 0.5551 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.5628, allocations: 39.83 kB / 0.5551 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.5629, allocations: 35.98 kB / 0.5552 GB, free: 3.215 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.0008314/0.5637, allocations: 357.5 kB / 0.5555 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.564, allocations: 75.06 kB / 0.5556 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.5659, allocations: 0.9034 MB / 0.5565 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.566, allocations: 4 kB / 0.5565 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.566, allocations: 7.938 kB / 0.5565 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.566, allocations: 3.984 kB / 0.5565 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.5699, allocations: 2.002 MB / 0.5584 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.5699, allocations: 7.984 kB / 0.5584 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/0.5705, allocations: 111.9 kB / 0.5586 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005854/0.5711, allocations: 190.5 kB / 0.5587 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.5712, allocations: 20 kB / 0.5588 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/0.5761, allocations: 5.492 MB / 0.5641 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5761, allocations: 0 / 0.5641 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.5782, allocations: 1.271 MB / 0.5654 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.5788, allocations: 208 kB / 0.5656 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.579, allocations: 27.92 kB / 0.5656 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.5795, allocations: 16 kB / 0.5656 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.5797, allocations: 52.42 kB / 0.5656 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.5797, allocations: 20 kB / 0.5657 GB, free: 7.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008673/0.5806, allocations: 499 kB / 0.5661 GB, free: 7.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5806, allocations: 0 / 0.5661 GB, free: 7.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001543/0.5822, allocations: 248 kB / 0.5664 GB, free: 7.109 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.001105/0.5833, allocations: 422.2 kB / 0.5668 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.5856, allocations: 1.142 MB / 0.5679 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.5857, allocations: 8.062 kB / 0.5679 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5867, allocations: 0.7138 MB / 0.5686 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.5879, allocations: 191.3 kB / 0.5688 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.5926, allocations: 2.48 MB / 0.5712 GB, free: 2.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.5938, allocations: 1.146 MB / 0.5723 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005577/0.5944, allocations: 162.6 kB / 0.5725 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.5946, allocations: 55.44 kB / 0.5725 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5946, allocations: 0 / 0.5725 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of Templates: time 0.02619/0.6208, allocations: 12.67 MB / 0.5849 GB, free: 4.23 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