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.001357/0.001357, allocations: 113 kB / 18.49 MB, free: 4.539 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.001642/0.001642, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.489/1.489, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.1899/0.1899, allocations: 38.52 MB / 349.4 MB, free: 2.668 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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="cs",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.002926/0.002926, allocations: 67.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1507, allocations: 62.42 MB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0157/0.1664, allocations: 10.74 MB / 0.5478 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1789, allocations: 6.292 MB / 0.554 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.1802, allocations: 67.44 kB / 0.554 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01462/0.1948, allocations: 5.558 MB / 0.5595 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.1986, allocations: 1.089 MB / 0.5605 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.2009, allocations: 0.6511 MB / 0.5612 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00535/0.2062, allocations: 3.224 MB / 0.5643 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.208, allocations: 0.8206 MB / 0.5651 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.2102, allocations: 1.082 MB / 0.5662 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.2127, allocations: 1.448 MB / 0.5676 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.2132, allocations: 148 kB / 0.5677 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.2146, allocations: 455.5 kB / 0.5682 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.2158, allocations: 0.8648 MB / 0.569 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.2176, allocations: 0.9252 MB / 0.5699 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.2211, allocations: 2.284 MB / 0.5722 GB, free: 3.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2211, allocations: 0 / 0.5722 GB, free: 3.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2211, allocations: 0 / 0.5722 GB, free: 3.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.419e-05/0.2212, allocations: 0 / 0.5722 GB, free: 3.793 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.005327/0.2265, allocations: 2.12 MB / 0.5742 GB, free: 1.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2266, allocations: 8.031 kB / 0.5742 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.795e-05/0.2266, allocations: 42.77 kB / 0.5743 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004195/0.227, allocations: 220 kB / 0.5745 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.229, allocations: 339.2 kB / 0.5748 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.232, allocations: 1.218 MB / 0.576 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.2321, allocations: 102.5 kB / 0.5761 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006551/0.2327, allocations: 227.8 kB / 0.5763 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/0.2373, allocations: 2.107 MB / 0.5784 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.2374, allocations: 11.89 kB / 0.5784 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.2375, allocations: 55.92 kB / 0.5784 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007279/0.2382, allocations: 182.7 kB / 0.5786 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/0.2417, allocations: 1.705 MB / 0.5803 GB, free: 11.25 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.01264/0.2543, allocations: 7.928 MB / 0.588 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.2569, allocations: 1.556 MB / 0.5895 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.258, allocations: 0.6098 MB / 0.5901 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.2581, allocations: 24.97 kB / 0.5902 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.2581, allocations: 55.5 kB / 0.5902 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 2.955e-06/0.2581, allocations: 0 / 0.5902 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.2529/0.5111, allocations: 5.108 MB / 0.5952 GB, free: 49.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.5111, allocations: 94.58 kB / 0.5953 GB, free: 49.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.5125, allocations: 0.9367 MB / 0.5962 GB, free: 49.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.5126, allocations: 52.06 kB / 0.5962 GB, free: 49.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.513, allocations: 0.7371 MB / 0.597 GB, free: 48.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.5133, allocations: 0.522 MB / 0.5975 GB, free: 48.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/0.5138, allocations: 314.7 kB / 0.5978 GB, free: 48.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.5138, allocations: 301.9 kB / 0.5981 GB, free: 48.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.515, allocations: 0.7077 MB / 0.5988 GB, free: 47.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.5166, allocations: 1.15 MB / 0.5999 GB, free: 47.21 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.01059/0.5272, allocations: 4.074 MB / 0.6039 GB, free: 45.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/0.5272, allocations: 7.969 kB / 0.6039 GB, free: 45.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006907/0.5341, allocations: 3.314 MB / 0.6071 GB, free: 44.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.5341, allocations: 11.09 kB / 0.6071 GB, free: 44.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.5342, allocations: 13.66 kB / 0.6071 GB, free: 44.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003152/0.5373, allocations: 1.184 MB / 0.6083 GB, free: 44.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.5386, allocations: 303.9 kB / 0.6086 GB, free: 44.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.5548, allocations: 15.14 MB / 0.6234 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.556, allocations: 83.31 kB / 0.6234 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.5562, allocations: 70.95 kB / 0.6235 GB, free: 33.91 MB / 446.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.0007507/0.5569, allocations: 0.4942 MB / 0.624 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.5571, allocations: 143 kB / 0.6241 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.5598, allocations: 2.01 MB / 0.6261 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5598, allocations: 12 kB / 0.6261 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5598, allocations: 10.12 kB / 0.6261 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.5598, allocations: 3.984 kB / 0.6261 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.5649, allocations: 3.76 MB / 0.6298 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5649, allocations: 4 kB / 0.6298 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.5665, allocations: 324 kB / 0.6301 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.567, allocations: 194.7 kB / 0.6303 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.5671, allocations: 43.98 kB / 0.6303 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/0.5707, allocations: 6.673 MB / 0.6368 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5707, allocations: 4 kB / 0.6368 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.5739, allocations: 2.718 MB / 0.6395 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.5744, allocations: 324.1 kB / 0.6398 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.5745, allocations: 51.97 kB / 0.6399 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.5752, allocations: 56.8 kB / 0.6399 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.5754, allocations: 101.2 kB / 0.64 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/0.5755, allocations: 43.92 kB / 0.6401 GB, free: 16.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006359/0.5761, allocations: 0.6283 MB / 0.6407 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5761, allocations: 0 / 0.6407 GB, free: 15.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001579/0.5777, allocations: 488 kB / 0.6411 GB, free: 14.94 MB / 446.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.00323/0.5809, allocations: 3.326 MB / 0.6444 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004181/0.5851, allocations: 2.633 MB / 0.6469 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5851, allocations: 0 / 0.6469 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.5867, allocations: 1.196 MB / 0.6481 GB, free: 7.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5882, allocations: 324.3 kB / 0.6484 GB, free: 7.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/0.6175, allocations: 17.23 MB / 0.6653 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.6195, allocations: 1.521 MB / 0.6667 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001319/0.6208, allocations: 391.6 kB / 0.6671 GB, free: 3.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.6219, allocations: 0.6282 MB / 0.6677 GB, free: 2.824 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6219, allocations: 2.188 kB / 0.6677 GB, free: 2.824 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09215/0.714, allocations: 39.55 MB / 0.7064 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.17, allocations: 11.98 kB / 0.7064 GB, free: 11.53 MB / 0.4981 GB " [Timeout remaining time 644] (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.22031927900389] Failed to read output from testmodel.py, exit status != 0: 16.345121457998175 16.361910241 16.137231509 Calling exit ...