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.001425/0.001425, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001542/0.001542, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1861/0.1861, allocations: 38.52 MB / 353.2 MB, free: 12.56 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="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.002189/0.002189, allocations: 71.02 kB / 493.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3423, allocations: 62.48 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01589/0.3582, allocations: 10.87 MB / 0.5534 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.3709, allocations: 6.322 MB / 0.5596 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.3729, allocations: 68.09 kB / 0.5596 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01409/0.387, allocations: 6.179 MB / 0.5657 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.3902, allocations: 1.077 MB / 0.5667 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.3922, allocations: 0.6706 MB / 0.5674 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005447/0.3977, allocations: 3.321 MB / 0.5706 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.3991, allocations: 0.8513 MB / 0.5714 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.4013, allocations: 1.098 MB / 0.5725 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.404, allocations: 1.46 MB / 0.5739 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003931/0.4043, allocations: 144 kB / 0.5741 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.4057, allocations: 463.4 kB / 0.5745 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.4068, allocations: 0.8687 MB / 0.5754 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.408, allocations: 0.9252 MB / 0.5763 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.4113, allocations: 2.296 MB / 0.5785 GB, free: 15.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4113, allocations: 0 / 0.5785 GB, free: 15.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4114, allocations: 0 / 0.5785 GB, free: 15.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.446e-05/0.4114, allocations: 0 / 0.5785 GB, free: 15.8 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.005692/0.4171, allocations: 2.041 MB / 0.5805 GB, free: 13.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001266/0.4172, allocations: 15.98 kB / 0.5805 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.09e-05/0.4173, allocations: 34.83 kB / 0.5806 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004217/0.4177, allocations: 220 kB / 0.5808 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.42, allocations: 343.2 kB / 0.5811 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/0.4231, allocations: 1.115 MB / 0.5822 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.4232, allocations: 102.6 kB / 0.5823 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006786/0.4239, allocations: 227.9 kB / 0.5825 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/0.4278, allocations: 2.099 MB / 0.5845 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/0.4279, allocations: 19.89 kB / 0.5846 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.428, allocations: 55.92 kB / 0.5846 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006781/0.4287, allocations: 182.7 kB / 0.5848 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.432, allocations: 1.705 MB / 0.5865 GB, free: 7.453 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.01441/0.4464, allocations: 7.816 MB / 0.5941 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.4488, allocations: 1.25 MB / 0.5953 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4499, allocations: 0.6137 MB / 0.5959 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.45, allocations: 17 kB / 0.5959 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.4501, allocations: 47.5 kB / 0.596 GB, free: 13.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.396e-06/0.4501, allocations: 4 kB / 0.596 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009654/0.4597, allocations: 4.528 MB / 0.6004 GB, free: 8.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.4598, allocations: 90.42 kB / 0.6005 GB, free: 8.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.4611, allocations: 0.9349 MB / 0.6014 GB, free: 7.727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.4613, allocations: 57.64 kB / 0.6014 GB, free: 7.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000638/0.4619, allocations: 0.7387 MB / 0.6022 GB, free: 6.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005006/0.4624, allocations: 0.5229 MB / 0.6027 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004788/0.4629, allocations: 307.5 kB / 0.603 GB, free: 6.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.463, allocations: 301.1 kB / 0.6033 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.4643, allocations: 0.7066 MB / 0.6039 GB, free: 5.074 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.4659, allocations: 1.158 MB / 0.6051 GB, free: 3.727 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.01058/0.4765, allocations: 4.074 MB / 0.6091 GB, free: 15.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/0.4765, allocations: 4 kB / 0.6091 GB, free: 15.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007327/0.4838, allocations: 3.229 MB / 0.6122 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.4839, allocations: 11.94 kB / 0.6122 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.4839, allocations: 20.06 kB / 0.6122 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.4871, allocations: 1.199 MB / 0.6134 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4884, allocations: 299.5 kB / 0.6137 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0232/0.5116, allocations: 14.74 MB / 0.6281 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.5133, allocations: 71.94 kB / 0.6282 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.5136, allocations: 72 kB / 0.6282 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.001167/0.5147, allocations: 0.5003 MB / 0.6287 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/0.5151, allocations: 139.1 kB / 0.6289 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.5189, allocations: 1.788 MB / 0.6306 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.5189, allocations: 16 kB / 0.6306 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.519, allocations: 0 / 0.6306 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.519, allocations: 7.969 kB / 0.6306 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007846/0.5268, allocations: 3.502 MB / 0.634 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.5268, allocations: 11.92 kB / 0.6341 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.5285, allocations: 315.6 kB / 0.6344 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005585/0.5291, allocations: 195.4 kB / 0.6345 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.5292, allocations: 47.98 kB / 0.6346 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006291/0.5355, allocations: 6.267 MB / 0.6407 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.5355, allocations: 11.88 kB / 0.6407 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/0.5399, allocations: 2.492 MB / 0.6432 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.5406, allocations: 250.9 kB / 0.6434 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.5408, allocations: 43.98 kB / 0.6434 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.5416, allocations: 55.95 kB / 0.6435 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.5418, allocations: 109 kB / 0.6436 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.5419, allocations: 39.98 kB / 0.6436 GB, free: 10.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.543, allocations: 0.6283 MB / 0.6442 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.543, allocations: 0 / 0.6442 GB, free: 10.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002115/0.5451, allocations: 480 kB / 0.6447 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.0048/0.5499, allocations: 3.086 MB / 0.6477 GB, free: 6.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005813/0.5557, allocations: 2.625 MB / 0.6503 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.5558, allocations: 4 kB / 0.6503 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.5579, allocations: 1.203 MB / 0.6515 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.5601, allocations: 325.2 kB / 0.6518 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04017/0.6002, allocations: 17.12 MB / 0.6685 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/0.6028, allocations: 1.521 MB / 0.67 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001625/0.6044, allocations: 403.6 kB / 0.6704 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/0.6058, allocations: 0.6165 MB / 0.671 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of SimCode: time 2.405e-06/0.6058, allocations: 0 / 0.671 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/0.7115, allocations: 41.09 MB / 0.7111 GB, free: 5.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/16.89, allocations: 10.75 kB / 0.7111 GB, free: 5.191 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.84238714602543] Failed to read output from testmodel.py, exit status != 0: 17.095843816001434 17.123229122 16.706569049 Calling exit ...