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.001295/0.001295, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001433/0.001433, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.1915/0.1915, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.002074/0.002074, allocations: 67.89 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.342, allocations: 62.46 MB / 0.5427 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01304/0.355, allocations: 9.917 MB / 0.5524 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.366, allocations: 5.724 MB / 0.558 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.3671, allocations: 71.72 kB / 0.558 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01376/0.3809, allocations: 6.075 MB / 0.564 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.3845, allocations: 1.093 MB / 0.565 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.3868, allocations: 0.6667 MB / 0.5657 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006883/0.3937, allocations: 3.314 MB / 0.5689 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.3953, allocations: 0.863 MB / 0.5698 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.3981, allocations: 1.105 MB / 0.5708 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.4011, allocations: 1.464 MB / 0.5723 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.4014, allocations: 144 kB / 0.5724 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4027, allocations: 443.5 kB / 0.5728 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009514/0.4036, allocations: 0.8726 MB / 0.5737 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.4047, allocations: 0.7621 MB / 0.5744 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.4077, allocations: 2.308 MB / 0.5767 GB, free: 1.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4077, allocations: 8 kB / 0.5767 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4077, allocations: 3.984 kB / 0.5767 GB, free: 1.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.4078, allocations: 0 / 0.5767 GB, free: 1.352 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.00428/0.4121, allocations: 2.031 MB / 0.5787 GB, free: 15.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4121, allocations: 15.98 kB / 0.5787 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.174e-05/0.4122, allocations: 34.83 kB / 0.5787 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/0.4124, allocations: 228 kB / 0.5789 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.4142, allocations: 339.2 kB / 0.5793 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.4168, allocations: 1.119 MB / 0.5804 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.591e-05/0.4169, allocations: 98.62 kB / 0.5805 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000548/0.4174, allocations: 223.9 kB / 0.5807 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.4209, allocations: 2.111 MB / 0.5827 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.4209, allocations: 3.953 kB / 0.5827 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.4211, allocations: 63.92 kB / 0.5828 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006579/0.4217, allocations: 178.7 kB / 0.583 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.4248, allocations: 1.713 MB / 0.5846 GB, free: 9.008 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.01188/0.4366, allocations: 7.152 MB / 0.5916 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.4389, allocations: 1.246 MB / 0.5928 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.44, allocations: 0.6205 MB / 0.5934 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.193e-05/0.4401, allocations: 17 kB / 0.5935 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.4401, allocations: 43.56 kB / 0.5935 GB, free: 15.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.958e-06/0.4401, allocations: 0 / 0.5935 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009519/0.4496, allocations: 4.529 MB / 0.5979 GB, free: 11.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.4497, allocations: 90.42 kB / 0.598 GB, free: 10.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.451, allocations: 0.9427 MB / 0.5989 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.4511, allocations: 45.7 kB / 0.599 GB, free: 9.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006443/0.4518, allocations: 0.7309 MB / 0.5997 GB, free: 9.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/0.4523, allocations: 0.5306 MB / 0.6002 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/0.4528, allocations: 311.5 kB / 0.6005 GB, free: 8.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4529, allocations: 301.1 kB / 0.6008 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.4542, allocations: 0.7066 MB / 0.6015 GB, free: 7.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.4558, allocations: 1.147 MB / 0.6026 GB, free: 6.039 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.01125/0.4671, allocations: 4.086 MB / 0.6066 GB, free: 1.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/0.4671, allocations: 4 kB / 0.6066 GB, free: 1.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007354/0.4745, allocations: 3.237 MB / 0.6098 GB, free: 14.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.4745, allocations: 16.66 kB / 0.6098 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.4745, allocations: 12 kB / 0.6098 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.4777, allocations: 1.187 MB / 0.6109 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.479, allocations: 291.5 kB / 0.6112 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/0.5002, allocations: 14.52 MB / 0.6254 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.5014, allocations: 79.94 kB / 0.6255 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.5015, allocations: 68 kB / 0.6255 GB, free: 13.87 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.001024/0.5025, allocations: 0.4972 MB / 0.626 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.5028, allocations: 139.1 kB / 0.6262 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.5062, allocations: 1.788 MB / 0.6279 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5062, allocations: 12 kB / 0.6279 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.5062, allocations: 4 kB / 0.6279 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.5062, allocations: 7.969 kB / 0.6279 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/0.5129, allocations: 3.311 MB / 0.6312 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5129, allocations: 4 kB / 0.6312 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.5146, allocations: 324 kB / 0.6315 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005429/0.5152, allocations: 195.2 kB / 0.6317 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.5153, allocations: 43.98 kB / 0.6317 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00613/0.5214, allocations: 6.244 MB / 0.6378 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5214, allocations: 4 kB / 0.6378 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004568/0.526, allocations: 2.484 MB / 0.6402 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/0.5267, allocations: 254.9 kB / 0.6405 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.5269, allocations: 43.98 kB / 0.6405 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/0.5277, allocations: 55.94 kB / 0.6406 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.5279, allocations: 109 kB / 0.6407 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.528, allocations: 40 kB / 0.6407 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.5291, allocations: 0.6244 MB / 0.6413 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5291, allocations: 0 / 0.6413 GB, free: 13.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002431/0.5316, allocations: 484 kB / 0.6418 GB, free: 12.55 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.005323/0.5369, allocations: 3.093 MB / 0.6448 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00573/0.5426, allocations: 2.633 MB / 0.6474 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.5426, allocations: 0 / 0.6474 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.5448, allocations: 1.19 MB / 0.6485 GB, free: 5.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.5466, allocations: 330.5 kB / 0.6489 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/0.5778, allocations: 17.1 MB / 0.6656 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.5791, allocations: 0.9316 MB / 0.6665 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001197/0.5803, allocations: 403.6 kB / 0.6669 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009361/0.5812, allocations: 0.6282 MB / 0.6675 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of SimCode: time 1.273e-06/0.5812, allocations: 0 / 0.6675 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09519/0.6764, allocations: 40.26 MB / 0.7068 GB, free: 9.582 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.26, allocations: 6.5 kB / 0.7068 GB, free: 9.578 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: 20.154953056015074] Failed to read output from testmodel.py, exit status != 0: 17.470291882986203 17.500355819 17.086579041 Calling exit ...