Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001899/0.001899, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.002272/0.002272, allocations: 160 kB / 24.5 MB, free: 3.715 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.53/1.53, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1793/0.1793, allocations: 29.43 MB / 290.7 MB, free: 3.258 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_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.002244/0.002244, allocations: 63.91 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.403, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007538/0.4105, allocations: 7.25 MB / 0.4891 GB, free: 33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00804/0.4185, allocations: 5.111 MB / 0.4941 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.4193, allocations: 34.91 kB / 0.4942 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.4302, allocations: 5.731 MB / 0.4998 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.4321, allocations: 0.6891 MB / 0.5004 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.4332, allocations: 461.7 kB / 0.5009 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002682/0.4359, allocations: 2.312 MB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009643/0.4369, allocations: 0.961 MB / 0.5041 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009195/0.4378, allocations: 0.6642 MB / 0.5047 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009447/0.4387, allocations: 0.7528 MB / 0.5055 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.4389, allocations: 117.2 kB / 0.5056 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000794/0.4397, allocations: 440.8 kB / 0.506 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.44, allocations: 0.5075 MB / 0.5065 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.4405, allocations: 0.489 MB / 0.507 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.4421, allocations: 1.786 MB / 0.5087 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4421, allocations: 0 / 0.5087 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4421, allocations: 3.938 kB / 0.5087 GB, free: 24.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4421, 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.002511/0.4447, allocations: 1.411 MB / 0.5101 GB, free: 23.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4447, allocations: 10.83 kB / 0.5101 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.4455, allocations: 179.1 kB / 0.5103 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.4473, allocations: 0.8968 MB / 0.5112 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.4474, allocations: 62.7 kB / 0.5112 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.4476, allocations: 94.25 kB / 0.5113 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.4493, allocations: 1.09 MB / 0.5124 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.4493, allocations: 3.094 kB / 0.5124 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.4494, allocations: 43.78 kB / 0.5124 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/0.4496, allocations: 74.56 kB / 0.5125 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.4511, allocations: 0.8284 MB / 0.5133 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/0.4563, allocations: 3.508 MB / 0.5167 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.4573, allocations: 0.511 MB / 0.5172 GB, free: 19.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.4577, allocations: 286.9 kB / 0.5175 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.4578, allocations: 11.5 kB / 0.5175 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4578, allocations: 47.83 kB / 0.5175 GB, free: 19.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 2.935e-06/0.4578, allocations: 0 / 0.5175 GB, free: 19.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.004698/0.4625, allocations: 2.375 MB / 0.5199 GB, free: 17.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4626, allocations: 111.1 kB / 0.52 GB, free: 17.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.4634, allocations: 0.6899 MB / 0.5206 GB, free: 17.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.4635, allocations: 37.05 kB / 0.5207 GB, free: 17.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.4638, allocations: 0.4912 MB / 0.5212 GB, free: 17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.4639, allocations: 252.4 kB / 0.5214 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.4641, allocations: 151.8 kB / 0.5215 GB, free: 16.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4643, allocations: 388.7 kB / 0.5219 GB, free: 16.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.4648, allocations: 305.1 kB / 0.5222 GB, free: 16.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.4654, allocations: 0.5435 MB / 0.5227 GB, free: 15.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.4692, allocations: 1.59 MB / 0.5243 GB, free: 15.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.4692, allocations: 2.953 kB / 0.5243 GB, free: 15.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002261/0.4715, allocations: 1.262 MB / 0.5255 GB, free: 14.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4715, allocations: 9.375 kB / 0.5255 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4715, allocations: 13.75 kB / 0.5255 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4726, allocations: 392.5 kB / 0.5259 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.4731, allocations: 155.7 kB / 0.5261 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/0.4801, allocations: 5.809 MB / 0.5317 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.4808, allocations: 27.23 kB / 0.5318 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.4808, allocations: 29.47 kB / 0.5318 GB, free: 10.49 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.0005475/0.4814, allocations: 365.7 kB / 0.5321 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.4815, allocations: 84.23 kB / 0.5322 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.483, allocations: 0.8961 MB / 0.5331 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.483, allocations: 7.344 kB / 0.5331 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.483, allocations: 2.156 kB / 0.5331 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4831, allocations: 4.547 kB / 0.5331 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.4862, allocations: 1.685 MB / 0.5348 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4862, allocations: 1.062 kB / 0.5348 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.4869, allocations: 124.3 kB / 0.5349 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006109/0.4875, allocations: 184 kB / 0.5351 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.4875, allocations: 28.42 kB / 0.5351 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.4914, allocations: 5.077 MB / 0.54 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4914, allocations: 2.781 kB / 0.54 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.4934, allocations: 1.28 MB / 0.5413 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.4937, allocations: 126.5 kB / 0.5414 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.4938, allocations: 23.83 kB / 0.5414 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.4941, allocations: 16.3 kB / 0.5414 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4942, allocations: 55.33 kB / 0.5415 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.4943, allocations: 20.64 kB / 0.5415 GB, free: 3.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006961/0.495, allocations: 480.8 kB / 0.542 GB, free: 3.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.495, allocations: 4 kB / 0.542 GB, free: 3.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001363/0.4963, allocations: 264.4 kB / 0.5422 GB, free: 3.402 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.001688/0.498, allocations: 0.5066 MB / 0.5427 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.5002, allocations: 1.101 MB / 0.5438 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5002, allocations: 0 / 0.5438 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.5012, allocations: 0.7043 MB / 0.5445 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.5021, allocations: 168.6 kB / 0.5447 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.5061, allocations: 2.518 MB / 0.5471 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/0.5069, allocations: 0.5485 MB / 0.5476 GB, free: 424 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.5075, allocations: 156.1 kB / 0.5478 GB, free: 388 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.5076, allocations: 64.45 kB / 0.5479 GB, free: 372 kB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5076, allocations: 0 / 0.5479 GB, free: 372 kB / 446.1 MB Notification: Performance of Templates: time 0.02669/0.5343, allocations: 12.12 MB / 0.5597 GB, free: 5.25 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.627766047022305] Failed to read output from testmodel.py, exit status != 0: 0.5446887679863721 0.561290624 0.11522054600000001 Calling exit ...