Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001771/0.001771, allocations: 71.75 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.002278/0.002278, allocations: 169.2 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.492/1.492, allocations: 177.2 MB / 204.9 MB, free: 9.07 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.1769/0.1769, allocations: 29.43 MB / 290.7 MB, free: 3.324 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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [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.002013/0.002013, allocations: 67.89 kB / 431.2 MB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01182/0.3838, allocations: 7.666 MB / 0.4895 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009158/0.393, allocations: 5.052 MB / 0.4945 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.3938, allocations: 37.69 kB / 0.4945 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01399/0.4078, allocations: 5.762 MB / 0.5001 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.4109, allocations: 0.8546 MB / 0.501 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.4126, allocations: 0.5076 MB / 0.5015 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005474/0.418, allocations: 2.626 MB / 0.504 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.4193, allocations: 0.5471 MB / 0.5046 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.4212, allocations: 0.8018 MB / 0.5054 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.4234, allocations: 1.081 MB / 0.5064 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.4237, allocations: 106 kB / 0.5065 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.425, allocations: 380.7 kB / 0.5069 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008367/0.4258, allocations: 0.6693 MB / 0.5075 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008442/0.4266, allocations: 0.5769 MB / 0.5081 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.4293, allocations: 1.756 MB / 0.5098 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4293, allocations: 0 / 0.5098 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4293, allocations: 0 / 0.5098 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.4293, allocations: 0 / 0.5098 GB, free: 23.86 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004925/0.4342, allocations: 1.554 MB / 0.5113 GB, free: 22.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.4343, allocations: 16.77 kB / 0.5113 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.4368, allocations: 277.5 kB / 0.5116 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.4402, allocations: 0.8722 MB / 0.5125 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.4403, allocations: 69.06 kB / 0.5125 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007653/0.4411, allocations: 188.3 kB / 0.5127 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/0.4449, allocations: 1.564 MB / 0.5142 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.762e-05/0.445, allocations: 3.453 kB / 0.5142 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.4451, allocations: 37.61 kB / 0.5143 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009715/0.4461, allocations: 153.8 kB / 0.5144 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.4496, allocations: 1.242 MB / 0.5156 GB, free: 21.16 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.4608, allocations: 5.503 MB / 0.521 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.4627, allocations: 0.8717 MB / 0.5219 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/0.4636, allocations: 495.4 kB / 0.5223 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.11e-05/0.4636, allocations: 12.06 kB / 0.5223 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.4637, allocations: 53.91 kB / 0.5224 GB, free: 16.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 3.747e-06/0.4637, allocations: 0 / 0.5224 GB, free: 16.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.007909/0.4716, allocations: 3.242 MB / 0.5256 GB, free: 15.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4716, allocations: 89.27 kB / 0.5256 GB, free: 15.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4729, allocations: 0.7214 MB / 0.5263 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.473, allocations: 49.05 kB / 0.5264 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.4734, allocations: 0.5661 MB / 0.5269 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.4738, allocations: 386.4 kB / 0.5273 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.4742, allocations: 233.9 kB / 0.5275 GB, free: 14.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4744, allocations: 410.2 kB / 0.5279 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.4754, allocations: 0.5632 MB / 0.5285 GB, free: 13.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.4767, allocations: 0.8942 MB / 0.5294 GB, free: 13.19 MB / 446.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.009298/0.486, allocations: 3.229 MB / 0.5325 GB, free: 12.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.817e-05/0.486, allocations: 3.281 kB / 0.5325 GB, free: 12.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007507/0.4935, allocations: 2.692 MB / 0.5351 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.4935, allocations: 10.31 kB / 0.5351 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/0.4936, allocations: 13 kB / 0.5352 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003286/0.4968, allocations: 1.148 MB / 0.5363 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/0.4978, allocations: 195.4 kB / 0.5365 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.5167, allocations: 11.86 MB / 0.548 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5183, allocations: 67.84 kB / 0.5481 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/0.5187, allocations: 55.98 kB / 0.5482 GB, free: 1.152 MB / 446.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.5198, allocations: 401.2 kB / 0.5486 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/0.5202, allocations: 103.4 kB / 0.5486 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.5229, allocations: 1.249 MB / 0.5499 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.5229, allocations: 19.88 kB / 0.5499 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5229, allocations: 0 / 0.5499 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.5229, allocations: 3.984 kB / 0.5499 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.5292, allocations: 2.237 MB / 0.5521 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.5292, allocations: 4 kB / 0.5521 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.5308, allocations: 279.8 kB / 0.5523 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.531, allocations: 53.67 kB / 0.5524 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.5312, allocations: 47.97 kB / 0.5524 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.5337, allocations: 2.575 MB / 0.555 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.5337, allocations: 4 kB / 0.555 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/0.537, allocations: 1.739 MB / 0.5567 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007128/0.5377, allocations: 183.2 kB / 0.5568 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.538, allocations: 43.86 kB / 0.5569 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/0.5388, allocations: 43.95 kB / 0.5569 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.539, allocations: 68.81 kB / 0.557 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.5391, allocations: 28 kB / 0.557 GB, free: 7.742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009008/0.54, allocations: 479 kB / 0.5575 GB, free: 7.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.54, allocations: 0 / 0.5575 GB, free: 7.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001933/0.5419, allocations: 376 kB / 0.5578 GB, free: 6.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/0.5421, allocations: 147 kB / 0.558 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004916/0.5471, allocations: 2.034 MB / 0.56 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.5471, allocations: 0 / 0.56 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.5486, allocations: 0.7388 MB / 0.5607 GB, free: 3.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.5499, allocations: 222 kB / 0.5609 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.5577, allocations: 4.065 MB / 0.5649 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.5588, allocations: 0.7054 MB / 0.5655 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001148/0.5599, allocations: 311.9 kB / 0.5658 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.5603, allocations: 72.5 kB / 0.5659 GB, free: 14.48 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5603, allocations: 0 / 0.5659 GB, free: 14.48 MB / 478.1 MB Notification: Performance of Templates: time 0.03501/0.5953, allocations: 18.11 MB / 0.5836 GB, free: 12.59 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.722666790010408] Failed to read output from testmodel.py, exit status != 0: 0.6050975209800526 0.620313346 0.187703328 Calling exit ...