Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.001343/0.001343, 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.001475/0.001475, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1909/0.1909, allocations: 38.55 MB / 352.5 MB, free: 12.28 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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) [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.002192/0.002192, allocations: 67.89 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3585, allocations: 62.46 MB / 0.5419 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01398/0.3725, allocations: 9.931 MB / 0.5516 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.3847, allocations: 5.744 MB / 0.5572 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.386, allocations: 63.16 kB / 0.5573 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01354/0.3995, allocations: 6.009 MB / 0.5632 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.403, allocations: 1.093 MB / 0.5642 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.4052, allocations: 0.6706 MB / 0.5649 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005443/0.4106, allocations: 3.302 MB / 0.5681 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.4124, allocations: 0.8552 MB / 0.5689 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.4146, allocations: 1.098 MB / 0.57 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.4172, allocations: 1.405 MB / 0.5714 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003679/0.4176, allocations: 144 kB / 0.5715 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.4187, allocations: 443.5 kB / 0.572 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000936/0.4197, allocations: 0.8648 MB / 0.5728 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.4207, allocations: 0.7738 MB / 0.5736 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.4234, allocations: 2.308 MB / 0.5758 GB, free: 1.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4235, allocations: 4 kB / 0.5758 GB, free: 1.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4235, allocations: 0 / 0.5758 GB, free: 1.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.168e-05/0.4235, allocations: 0 / 0.5758 GB, free: 1.438 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004373/0.4279, allocations: 2.029 MB / 0.5778 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4279, allocations: 11.98 kB / 0.5778 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00029/0.4282, allocations: 228 kB / 0.578 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.43, allocations: 335.5 kB / 0.5783 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.4328, allocations: 1.131 MB / 0.5794 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.564e-05/0.4329, allocations: 102.6 kB / 0.5795 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000548/0.4334, allocations: 223.8 kB / 0.5798 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.4371, allocations: 2.103 MB / 0.5818 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.4372, allocations: 11.89 kB / 0.5818 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.4373, allocations: 55.98 kB / 0.5819 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000692/0.438, allocations: 186.6 kB / 0.5821 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.4412, allocations: 1.701 MB / 0.5837 GB, free: 9.133 MB / 430.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.01238/0.4535, allocations: 7.152 MB / 0.5907 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.456, allocations: 1.256 MB / 0.5919 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.4571, allocations: 0.6126 MB / 0.5925 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.4571, allocations: 16.98 kB / 0.5925 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.4572, allocations: 47.56 kB / 0.5926 GB, free: 15.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.897e-06/0.4572, allocations: 4 kB / 0.5926 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009575/0.4668, allocations: 4.525 MB / 0.597 GB, free: 11.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.4668, allocations: 94.42 kB / 0.5971 GB, free: 11.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.4681, allocations: 0.9541 MB / 0.598 GB, free: 10.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.4682, allocations: 53.7 kB / 0.5981 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006371/0.4689, allocations: 0.7348 MB / 0.5988 GB, free: 9.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005242/0.4694, allocations: 0.5229 MB / 0.5993 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.4699, allocations: 307.5 kB / 0.5996 GB, free: 8.484 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.47, allocations: 309.1 kB / 0.5999 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.4713, allocations: 0.7027 MB / 0.6006 GB, free: 7.477 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.473, allocations: 1.151 MB / 0.6017 GB, free: 6.137 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.01049/0.4835, allocations: 4.078 MB / 0.6057 GB, free: 1.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.4835, allocations: 4 kB / 0.6057 GB, free: 1.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007185/0.4907, allocations: 3.237 MB / 0.6089 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4907, allocations: 12 kB / 0.6089 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.4908, allocations: 15.94 kB / 0.6089 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/0.4939, allocations: 1.18 MB / 0.61 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.4951, allocations: 295.6 kB / 0.6103 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.5161, allocations: 14.52 MB / 0.6245 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5174, allocations: 83.89 kB / 0.6246 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.5176, allocations: 71.98 kB / 0.6246 GB, free: 13.98 MB / 478.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009468/0.5185, allocations: 497.2 kB / 0.6251 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.5188, allocations: 139.1 kB / 0.6252 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.5222, allocations: 1.8 MB / 0.627 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.5222, allocations: 12 kB / 0.627 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5222, allocations: 4 kB / 0.627 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.5222, allocations: 11.97 kB / 0.627 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/0.5292, allocations: 3.3 MB / 0.6303 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.5292, allocations: 7.938 kB / 0.6303 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.5308, allocations: 324 kB / 0.6306 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.5314, allocations: 187.2 kB / 0.6307 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.5315, allocations: 47.98 kB / 0.6308 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.5374, allocations: 6.232 MB / 0.6369 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5374, allocations: 11.88 kB / 0.6369 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.5419, allocations: 2.492 MB / 0.6393 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/0.5427, allocations: 246.9 kB / 0.6396 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.5429, allocations: 47.94 kB / 0.6396 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/0.5436, allocations: 63.94 kB / 0.6397 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.5438, allocations: 105 kB / 0.6398 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/0.5439, allocations: 39.98 kB / 0.6398 GB, free: 13.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009474/0.5449, allocations: 0.6283 MB / 0.6404 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5449, allocations: 0 / 0.6404 GB, free: 13.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001712/0.5466, allocations: 488 kB / 0.6409 GB, free: 12.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,line.v[1,2],line.v[1,3],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,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,100.0%), (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.004525/0.5511, allocations: 3.089 MB / 0.6439 GB, free: 9.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004756/0.5559, allocations: 2.621 MB / 0.6465 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.5559, allocations: 4 kB / 0.6465 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.5579, allocations: 1.195 MB / 0.6476 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5594, allocations: 330 kB / 0.6479 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/0.5904, allocations: 17.11 MB / 0.6647 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.5917, allocations: 0.9316 MB / 0.6656 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001371/0.593, allocations: 403.6 kB / 0.6659 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.5941, allocations: 0.6203 MB / 0.6666 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.5941, allocations: 0 / 0.6666 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/0.6941, allocations: 40.03 MB / 0.7056 GB, free: 9.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.19, allocations: 11.91 kB / 0.7057 GB, free: 9.898 MB / 0.545 GB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.13413088209927] Failed to read output from testmodel.py, exit status != 0: 15.338278035633266 15.354912713 14.92809642 Calling exit ...