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.001242/0.001242, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001493/0.001493, allocations: 169 kB / 24.5 MB, free: 3.453 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 8.91 MB / 190.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.1759/0.1759, allocations: 29.43 MB / 290.7 MB, free: 3.273 MB / 270.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.002059/0.002059, allocations: 68.03 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3861, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007507/0.3936, allocations: 7.253 MB / 0.4892 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007505/0.4011, allocations: 5.103 MB / 0.4941 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.4017, allocations: 38.69 kB / 0.4942 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.4121, allocations: 5.731 MB / 0.4998 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.4139, allocations: 0.6874 MB / 0.5004 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.415, allocations: 472.5 kB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.4181, allocations: 2.293 MB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.4191, allocations: 0.9745 MB / 0.5041 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009502/0.42, allocations: 0.6709 MB / 0.5047 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/0.421, allocations: 0.741 MB / 0.5055 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.4211, allocations: 119.2 kB / 0.5056 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008059/0.4219, allocations: 439.2 kB / 0.506 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.4223, allocations: 0.5108 MB / 0.5065 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.4228, allocations: 499.5 kB / 0.507 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.4243, allocations: 1.788 MB / 0.5087 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4243, allocations: 0 / 0.5087 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4243, allocations: 0 / 0.5087 GB, free: 24.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4243, allocations: 0 / 0.5087 GB, free: 24.11 MB / 446.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.002448/0.4268, allocations: 1.407 MB / 0.5101 GB, free: 23.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4268, allocations: 13.27 kB / 0.5101 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.4276, allocations: 182 kB / 0.5103 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.4293, allocations: 0.8977 MB / 0.5112 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.4294, allocations: 62.39 kB / 0.5112 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.4296, allocations: 91.11 kB / 0.5113 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.4314, allocations: 1.09 MB / 0.5124 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.4314, allocations: 6.625 kB / 0.5124 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.4315, allocations: 36.39 kB / 0.5124 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.4317, allocations: 73.3 kB / 0.5125 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.4331, allocations: 0.829 MB / 0.5133 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005069/0.4381, allocations: 3.507 MB / 0.5167 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.4391, allocations: 0.5235 MB / 0.5172 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/0.4395, allocations: 286.2 kB / 0.5175 GB, free: 19.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.4395, allocations: 12.42 kB / 0.5175 GB, free: 19.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.4396, allocations: 46.66 kB / 0.5175 GB, free: 19.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 2.695e-06/0.4396, allocations: 0 / 0.5175 GB, free: 19.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.004727/0.4443, allocations: 2.375 MB / 0.5199 GB, free: 17.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.4444, allocations: 115.1 kB / 0.52 GB, free: 17.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.4453, allocations: 0.6859 MB / 0.5206 GB, free: 17.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.4453, allocations: 36.89 kB / 0.5207 GB, free: 17.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.4456, allocations: 498.5 kB / 0.5212 GB, free: 16.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.4458, allocations: 252.7 kB / 0.5214 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.446, allocations: 150.5 kB / 0.5215 GB, free: 16.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4462, allocations: 389.8 kB / 0.5219 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.4467, allocations: 309.2 kB / 0.5222 GB, free: 16.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.4473, allocations: 0.5437 MB / 0.5227 GB, free: 15.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/0.4512, allocations: 1.586 MB / 0.5243 GB, free: 15.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.4512, allocations: 2.703 kB / 0.5243 GB, free: 15.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002338/0.4535, allocations: 1.263 MB / 0.5255 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4536, allocations: 8.188 kB / 0.5255 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4536, allocations: 9.812 kB / 0.5255 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.4546, allocations: 401.6 kB / 0.5259 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.4552, allocations: 151.3 kB / 0.5261 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/0.4622, allocations: 5.811 MB / 0.5317 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/0.463, allocations: 27.86 kB / 0.5318 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.4631, allocations: 34.86 kB / 0.5318 GB, free: 10.48 MB / 446.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.0006375/0.4637, allocations: 365.2 kB / 0.5322 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.4639, allocations: 87.97 kB / 0.5322 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.4654, allocations: 0.8922 MB / 0.5331 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.4655, allocations: 6.688 kB / 0.5331 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4655, allocations: 2.594 kB / 0.5331 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4655, allocations: 3.281 kB / 0.5331 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.4684, allocations: 1.693 MB / 0.5348 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4684, allocations: 1.719 kB / 0.5348 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.4691, allocations: 114.7 kB / 0.5349 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.4696, allocations: 188 kB / 0.5351 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.4697, allocations: 33.86 kB / 0.5351 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00349/0.4732, allocations: 5.075 MB / 0.5401 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4732, allocations: 2.156 kB / 0.5401 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.4752, allocations: 1.265 MB / 0.5413 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.4755, allocations: 131.2 kB / 0.5414 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4756, allocations: 26.92 kB / 0.5414 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.476, allocations: 17.44 kB / 0.5415 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4761, allocations: 58.42 kB / 0.5415 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.4762, allocations: 20.27 kB / 0.5415 GB, free: 3.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006506/0.4768, allocations: 480 kB / 0.542 GB, free: 3.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4768, allocations: 0 / 0.542 GB, free: 3.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001237/0.4781, allocations: 265.2 kB / 0.5422 GB, free: 3.391 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.001671/0.4797, allocations: 0.4955 MB / 0.5427 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.4818, allocations: 1.107 MB / 0.5438 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4818, allocations: 0 / 0.5438 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.4828, allocations: 0.7065 MB / 0.5445 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.4838, allocations: 172.9 kB / 0.5447 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.4877, allocations: 2.512 MB / 0.5471 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.4884, allocations: 0.5444 MB / 0.5476 GB, free: 416 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005317/0.4889, allocations: 159.8 kB / 0.5478 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.4891, allocations: 58.3 kB / 0.5479 GB, free: 368 kB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4891, allocations: 4 kB / 0.5479 GB, free: 364 kB / 446.1 MB Notification: Performance of Templates: time 0.02441/0.5135, allocations: 12.13 MB / 0.5597 GB, free: 5.238 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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6634283299790695]