Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001347/0.001347, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001421/0.001421, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1911/0.1911, allocations: 38.52 MB / 353.2 MB, free: 12.5 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_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.002107/0.002107, allocations: 71.89 kB / 493.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3556, allocations: 62.46 MB / 0.5428 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01371/0.3693, allocations: 10.88 MB / 0.5534 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3806, allocations: 6.321 MB / 0.5596 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.3819, allocations: 63.38 kB / 0.5596 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.3951, allocations: 6.177 MB / 0.5656 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.3985, allocations: 1.085 MB / 0.5667 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.4006, allocations: 0.6667 MB / 0.5674 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007124/0.4077, allocations: 3.325 MB / 0.5706 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.4099, allocations: 0.8553 MB / 0.5714 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.4125, allocations: 1.09 MB / 0.5725 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.4156, allocations: 1.464 MB / 0.5739 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006587/0.4162, allocations: 144 kB / 0.5741 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.4177, allocations: 463.4 kB / 0.5745 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.4188, allocations: 0.8648 MB / 0.5754 GB, free: 3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.4203, allocations: 0.9252 MB / 0.5763 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.4241, allocations: 2.296 MB / 0.5785 GB, free: 15.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4242, allocations: 0 / 0.5785 GB, free: 15.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4242, allocations: 0 / 0.5785 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.464e-05/0.4242, allocations: 3.938 kB / 0.5785 GB, free: 15.76 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.005336/0.4296, allocations: 2.037 MB / 0.5805 GB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.4296, allocations: 11.98 kB / 0.5805 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.5e-05/0.4297, allocations: 42.77 kB / 0.5806 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003052/0.43, allocations: 224 kB / 0.5808 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.4318, allocations: 339.2 kB / 0.5811 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.4348, allocations: 1.115 MB / 0.5822 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.4349, allocations: 102.6 kB / 0.5823 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006232/0.4355, allocations: 227.8 kB / 0.5825 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/0.4391, allocations: 2.095 MB / 0.5845 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.4391, allocations: 11.89 kB / 0.5846 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.4393, allocations: 71.91 kB / 0.5846 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006851/0.44, allocations: 182.7 kB / 0.5848 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.4431, allocations: 1.701 MB / 0.5865 GB, free: 7.414 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.01262/0.4558, allocations: 7.808 MB / 0.5941 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.4581, allocations: 1.253 MB / 0.5953 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4591, allocations: 0.6165 MB / 0.5959 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.73e-05/0.4592, allocations: 20.97 kB / 0.5959 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.4593, allocations: 47.5 kB / 0.596 GB, free: 13.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.055e-06/0.4593, allocations: 0 / 0.596 GB, free: 13.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009937/0.4692, allocations: 4.528 MB / 0.6004 GB, free: 8.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.4693, allocations: 94.42 kB / 0.6005 GB, free: 8.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.4706, allocations: 0.9349 MB / 0.6014 GB, free: 7.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.4708, allocations: 53.73 kB / 0.6014 GB, free: 7.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.4714, allocations: 0.7309 MB / 0.6022 GB, free: 6.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.4719, allocations: 0.5229 MB / 0.6027 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/0.4724, allocations: 311.5 kB / 0.603 GB, free: 6.047 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4725, allocations: 301.1 kB / 0.6033 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.4738, allocations: 0.7066 MB / 0.6039 GB, free: 5.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.4754, allocations: 1.155 MB / 0.6051 GB, free: 3.699 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.486, allocations: 4.082 MB / 0.6091 GB, free: 15.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.486, allocations: 4 kB / 0.6091 GB, free: 15.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007385/0.4934, allocations: 3.233 MB / 0.6122 GB, free: 12.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.4934, allocations: 20.64 kB / 0.6122 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.4934, allocations: 12 kB / 0.6123 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.4965, allocations: 1.207 MB / 0.6134 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.4978, allocations: 287.6 kB / 0.6137 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.5188, allocations: 14.74 MB / 0.6281 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.52, allocations: 71.95 kB / 0.6282 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.5202, allocations: 71.98 kB / 0.6282 GB, free: 11.3 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.0009132/0.5211, allocations: 0.4933 MB / 0.6287 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.5214, allocations: 139.1 kB / 0.6289 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.5247, allocations: 1.781 MB / 0.6306 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5247, allocations: 16 kB / 0.6306 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5247, allocations: 7.984 kB / 0.6306 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5248, allocations: 3.984 kB / 0.6306 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006654/0.5314, allocations: 3.506 MB / 0.634 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5314, allocations: 12.12 kB / 0.6341 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.5331, allocations: 327.5 kB / 0.6344 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000533/0.5337, allocations: 191.3 kB / 0.6346 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.5338, allocations: 47.98 kB / 0.6346 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005999/0.5398, allocations: 6.263 MB / 0.6407 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5398, allocations: 4 kB / 0.6407 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/0.5441, allocations: 2.488 MB / 0.6431 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000749/0.5449, allocations: 258.9 kB / 0.6434 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.5451, allocations: 43.98 kB / 0.6434 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.5458, allocations: 55.94 kB / 0.6435 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.546, allocations: 105 kB / 0.6436 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.5461, allocations: 43.98 kB / 0.6436 GB, free: 10.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008676/0.547, allocations: 0.6244 MB / 0.6442 GB, free: 10.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.547, allocations: 0 / 0.6442 GB, free: 10.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001689/0.5487, allocations: 487.9 kB / 0.6447 GB, free: 9.742 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.004522/0.5532, allocations: 3.082 MB / 0.6477 GB, free: 6.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005145/0.5583, allocations: 2.633 MB / 0.6503 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.5584, allocations: 0 / 0.6503 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.5605, allocations: 1.198 MB / 0.6515 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.5622, allocations: 323 kB / 0.6518 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/0.5942, allocations: 17.13 MB / 0.6685 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.5959, allocations: 1.513 MB / 0.67 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001335/0.5972, allocations: 403.6 kB / 0.6704 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009115/0.5981, allocations: 0.632 MB / 0.671 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.5981, allocations: 0 / 0.671 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09967/0.6978, allocations: 41.08 MB / 0.7111 GB, free: 5.176 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/16.86, allocations: 6.812 kB / 0.7111 GB, free: 5.172 MB / 0.545 GB " [Timeout remaining time 643] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.841313221957535] Failed to read output from testmodel.py, exit status != 0: 17.062741986999754 17.080596995 16.652810349 Calling exit ...