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.00128/0.00128, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001414/0.001414, allocations: 209.3 kB / 23.74 MB, free: 4.672 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: 230.6 MB / 257.5 MB, free: 7.984 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.1892/0.1892, allocations: 38.54 MB / 352.5 MB, free: 12.61 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.002239/0.002239, allocations: 63.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3344, allocations: 62.47 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01525/0.3497, allocations: 10.88 MB / 0.5526 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.3615, allocations: 6.32 MB / 0.5588 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.3627, allocations: 67.88 kB / 0.5589 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01371/0.3764, allocations: 6.178 MB / 0.5649 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.3796, allocations: 1.085 MB / 0.5659 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.3816, allocations: 0.6667 MB / 0.5666 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005584/0.3872, allocations: 3.325 MB / 0.5698 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.389, allocations: 0.8553 MB / 0.5707 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.3911, allocations: 1.101 MB / 0.5718 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.3938, allocations: 1.448 MB / 0.5732 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005077/0.3943, allocations: 144 kB / 0.5733 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.3957, allocations: 471.4 kB / 0.5738 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.3969, allocations: 0.8648 MB / 0.5746 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.3983, allocations: 0.929 MB / 0.5755 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.4016, allocations: 2.288 MB / 0.5777 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4016, allocations: 0 / 0.5777 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4016, allocations: 0 / 0.5777 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.341e-05/0.4016, allocations: 0 / 0.5777 GB, free: 15.75 MB / 430.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.004573/0.4062, allocations: 2.041 MB / 0.5797 GB, free: 13.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4062, allocations: 15.98 kB / 0.5798 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/0.4065, allocations: 216 kB / 0.58 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.4084, allocations: 339.5 kB / 0.5803 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.4112, allocations: 1.123 MB / 0.5814 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.4113, allocations: 102.6 kB / 0.5815 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005396/0.4118, allocations: 219.9 kB / 0.5817 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.4153, allocations: 2.115 MB / 0.5838 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.4154, allocations: 11.95 kB / 0.5838 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.4155, allocations: 51.98 kB / 0.5838 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006691/0.4162, allocations: 186.6 kB / 0.584 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.4193, allocations: 1.709 MB / 0.5857 GB, free: 7.434 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.01307/0.4324, allocations: 7.816 MB / 0.5933 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.4348, allocations: 1.253 MB / 0.5945 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.4358, allocations: 0.6098 MB / 0.5951 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.4359, allocations: 13 kB / 0.5951 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.436, allocations: 51.56 kB / 0.5952 GB, free: 13.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.657e-06/0.436, allocations: 4 kB / 0.5952 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009564/0.4455, allocations: 4.528 MB / 0.5996 GB, free: 8.766 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.4456, allocations: 90.42 kB / 0.5997 GB, free: 8.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4469, allocations: 0.9349 MB / 0.6006 GB, free: 7.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.447, allocations: 49.7 kB / 0.6006 GB, free: 7.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/0.4476, allocations: 0.7387 MB / 0.6014 GB, free: 6.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/0.4481, allocations: 0.5229 MB / 0.6019 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.4486, allocations: 311.5 kB / 0.6022 GB, free: 6.062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4487, allocations: 301.1 kB / 0.6025 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4499, allocations: 0.7105 MB / 0.6032 GB, free: 5.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.4515, allocations: 1.155 MB / 0.6043 GB, free: 3.711 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.01037/0.4619, allocations: 4.07 MB / 0.6083 GB, free: 15.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.4619, allocations: 4 kB / 0.6083 GB, free: 15.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007105/0.469, allocations: 3.229 MB / 0.6114 GB, free: 12.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.469, allocations: 19.62 kB / 0.6114 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.4691, allocations: 20 kB / 0.6115 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.4722, allocations: 1.197 MB / 0.6126 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.4735, allocations: 291.5 kB / 0.6129 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/0.4948, allocations: 14.74 MB / 0.6273 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.4962, allocations: 79.94 kB / 0.6274 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4963, allocations: 68 kB / 0.6274 GB, free: 11.33 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.001009/0.4974, allocations: 0.5051 MB / 0.6279 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4976, allocations: 139.1 kB / 0.6281 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.501, allocations: 1.785 MB / 0.6298 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.501, allocations: 12 kB / 0.6298 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.501, allocations: 4 kB / 0.6298 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.5011, allocations: 7.969 kB / 0.6298 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00723/0.5083, allocations: 3.502 MB / 0.6332 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.5083, allocations: 4 kB / 0.6332 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.51, allocations: 327.5 kB / 0.6336 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.5105, allocations: 191.4 kB / 0.6337 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.5106, allocations: 43.98 kB / 0.6338 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006291/0.5169, allocations: 6.267 MB / 0.6399 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.5169, allocations: 8 kB / 0.6399 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/0.5217, allocations: 2.488 MB / 0.6423 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009441/0.5226, allocations: 258.8 kB / 0.6426 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/0.523, allocations: 43.98 kB / 0.6426 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.524, allocations: 55.95 kB / 0.6427 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.5243, allocations: 109 kB / 0.6428 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.5244, allocations: 40 kB / 0.6428 GB, free: 10.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.5255, allocations: 0.6244 MB / 0.6434 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5255, allocations: 0 / 0.6434 GB, free: 10.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002111/0.5276, allocations: 484 kB / 0.6439 GB, free: 9.77 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.004861/0.5325, allocations: 3.09 MB / 0.6469 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005195/0.5377, allocations: 2.629 MB / 0.6495 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.5377, allocations: 0 / 0.6495 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.5399, allocations: 1.206 MB / 0.6507 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.5416, allocations: 314.3 kB / 0.651 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03301/0.5747, allocations: 17.13 MB / 0.6677 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.5767, allocations: 1.529 MB / 0.6692 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001349/0.5781, allocations: 395.6 kB / 0.6696 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.5792, allocations: 0.6204 MB / 0.6702 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.5792, allocations: 0 / 0.6702 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/0.6862, allocations: 41.06 MB / 0.7103 GB, free: 5.223 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.64, allocations: 2.656 kB / 0.7103 GB, free: 5.223 MB / 0.545 GB " [Timeout remaining time 643] (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: 19.523670499911532] Failed to read output from testmodel.py, exit status != 0: 16.786391207948327 16.819540752 16.411722962 Calling exit ...