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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002562/0.002562, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2006/0.2006, allocations: 38.57 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 67.91 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4382, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01167/0.4499, allocations: 7.245 MB / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.4606, allocations: 5.109 MB / 0.5545 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000926/0.4615, allocations: 38.25 kB / 0.5545 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01332/0.4748, allocations: 5.703 MB / 0.5601 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.4782, allocations: 0.6844 MB / 0.5608 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.4802, allocations: 471.1 kB / 0.5612 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004646/0.4849, allocations: 2.292 MB / 0.5635 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.4865, allocations: 0.9634 MB / 0.5644 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.488, allocations: 0.6617 MB / 0.565 GB, free: 13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.4895, allocations: 0.7628 MB / 0.5658 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.4897, allocations: 116 kB / 0.5659 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.4908, allocations: 439.5 kB / 0.5663 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000582/0.4914, allocations: 0.4987 MB / 0.5668 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.4921, allocations: 0.4939 MB / 0.5673 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.4946, allocations: 1.787 MB / 0.569 GB, free: 8.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4946, allocations: 0 / 0.569 GB, free: 8.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4946, allocations: 0 / 0.569 GB, free: 8.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.4946, allocations: 4 kB / 0.569 GB, free: 8.906 MB / 414.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.00325/0.4979, allocations: 1.408 MB / 0.5704 GB, free: 7.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4979, allocations: 11.98 kB / 0.5704 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/0.4988, allocations: 176.1 kB / 0.5706 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.501, allocations: 0.9042 MB / 0.5715 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.5011, allocations: 58 kB / 0.5715 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.5013, allocations: 91.92 kB / 0.5716 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.5033, allocations: 1.096 MB / 0.5727 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.5033, allocations: 7.984 kB / 0.5727 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.5034, allocations: 27.98 kB / 0.5727 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/0.5036, allocations: 73.95 kB / 0.5728 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.5051, allocations: 0.8314 MB / 0.5736 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006272/0.5114, allocations: 3.506 MB / 0.577 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.5126, allocations: 0.5151 MB / 0.5775 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.513, allocations: 296.8 kB / 0.5778 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.5131, allocations: 8.5 kB / 0.5778 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.5131, allocations: 46.92 kB / 0.5779 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.406e-06/0.5131, allocations: 4 kB / 0.5779 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005242/0.5184, allocations: 2.371 MB / 0.5802 GB, free: 13.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.5185, allocations: 111.5 kB / 0.5803 GB, free: 13.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5195, allocations: 0.6839 MB / 0.581 GB, free: 12.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.5195, allocations: 41.83 kB / 0.581 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.5199, allocations: 0.4884 MB / 0.5815 GB, free: 11.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.5202, allocations: 249.9 kB / 0.5817 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.5204, allocations: 146.6 kB / 0.5819 GB, free: 11.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.5206, allocations: 394.7 kB / 0.5822 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.5211, allocations: 305.8 kB / 0.5825 GB, free: 10.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/0.5218, allocations: 0.54 MB / 0.583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/0.5257, allocations: 1.601 MB / 0.5846 GB, free: 8.375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.5257, allocations: 4 kB / 0.5846 GB, free: 8.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002431/0.5282, allocations: 1.255 MB / 0.5858 GB, free: 7.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.5282, allocations: 11.12 kB / 0.5859 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5282, allocations: 7.938 kB / 0.5859 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.5295, allocations: 413.5 kB / 0.5863 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.5301, allocations: 143.8 kB / 0.5864 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008898/0.539, allocations: 5.816 MB / 0.5921 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.5398, allocations: 27.98 kB / 0.5921 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/0.5398, allocations: 32 kB / 0.5921 GB, free: 480 kB / 430.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.0007847/0.5406, allocations: 365.4 kB / 0.5925 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.5408, allocations: 83.44 kB / 0.5926 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.5426, allocations: 0.8899 MB / 0.5934 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5426, allocations: 4 kB / 0.5934 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5426, allocations: 4 kB / 0.5934 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5426, allocations: 3.938 kB / 0.5934 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/0.5459, allocations: 1.693 MB / 0.5951 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.546, allocations: 0 / 0.5951 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.5466, allocations: 124 kB / 0.5952 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/0.5471, allocations: 190.4 kB / 0.5954 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.5472, allocations: 27.92 kB / 0.5954 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004921/0.5521, allocations: 5.074 MB / 0.6004 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5521, allocations: 8.094 kB / 0.6004 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.5544, allocations: 1.262 MB / 0.6016 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.5548, allocations: 135.4 kB / 0.6017 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5549, allocations: 16 kB / 0.6018 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.5552, allocations: 19.98 kB / 0.6018 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.5553, allocations: 52.34 kB / 0.6018 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.5554, allocations: 23.98 kB / 0.6018 GB, free: 6.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007085/0.5561, allocations: 479 kB / 0.6023 GB, free: 5.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5561, allocations: 0 / 0.6023 GB, free: 5.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001225/0.5573, allocations: 271.9 kB / 0.6026 GB, free: 5.324 MB / 446.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.00181/0.5591, allocations: 0.505 MB / 0.6031 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.5614, allocations: 1.098 MB / 0.6041 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.5614, allocations: 0 / 0.6041 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.5624, allocations: 0.6993 MB / 0.6048 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.5634, allocations: 167.1 kB / 0.605 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.5685, allocations: 2.556 MB / 0.6075 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009363/0.5694, allocations: 0.5441 MB / 0.608 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.57, allocations: 158.3 kB / 0.6082 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.5703, allocations: 63.42 kB / 0.6082 GB, free: 15.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5703, allocations: 0 / 0.6082 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Templates: time 0.02807/0.5983, allocations: 13.38 MB / 0.6213 GB, free: 2.344 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.048052446916699]