Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001363/0.001363, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002022/0.002022, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.511/1.511, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.1914/0.1914, allocations: 38.51 MB / 349.4 MB, free: 2.621 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_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.002044/0.002044, allocations: 68.19 kB / 487.8 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1218, allocations: 62.42 MB / 0.5374 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01656/0.1383, allocations: 11.16 MB / 0.5483 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.151, allocations: 7.141 MB / 0.5552 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.1522, allocations: 71.44 kB / 0.5553 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02267/0.1749, allocations: 12.96 MB / 0.5679 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.1785, allocations: 1.14 MB / 0.5691 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.181, allocations: 0.694 MB / 0.5697 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006647/0.1877, allocations: 4.02 MB / 0.5737 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.1893, allocations: 0.8091 MB / 0.5745 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.1917, allocations: 1.144 MB / 0.5756 GB, free: 336 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.195, allocations: 1.561 MB / 0.5771 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008688/0.1959, allocations: 152 kB / 0.5772 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.1984, allocations: 0.5539 MB / 0.5778 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.2002, allocations: 0.9194 MB / 0.5787 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.2026, allocations: 0.9873 MB / 0.5796 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004813/0.2074, allocations: 2.588 MB / 0.5822 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2074, allocations: 0 / 0.5822 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2074, allocations: 0 / 0.5822 GB, free: 9.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001111/0.2075, allocations: 4 kB / 0.5822 GB, free: 9.543 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.006461/0.214, allocations: 2.284 MB / 0.5844 GB, free: 7.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.214, allocations: 12.03 kB / 0.5844 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.134e-05/0.2141, allocations: 38.94 kB / 0.5845 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005747/0.2147, allocations: 232.5 kB / 0.5847 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.2173, allocations: 394.9 kB / 0.585 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/0.2206, allocations: 1.343 MB / 0.5864 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2208, allocations: 106.7 kB / 0.5865 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000692/0.2214, allocations: 239.8 kB / 0.5867 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/0.2252, allocations: 2.192 MB / 0.5888 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.2253, allocations: 7.938 kB / 0.5888 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.2254, allocations: 59.92 kB / 0.5889 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000718/0.2262, allocations: 186.8 kB / 0.5891 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/0.2296, allocations: 1.834 MB / 0.5909 GB, free: 416 kB / 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.2474/0.477, allocations: 8.529 MB / 0.5992 GB, free: 46.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.4799, allocations: 1.841 MB / 0.601 GB, free: 45.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.4815, allocations: 0.7539 MB / 0.6017 GB, free: 45.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.4816, allocations: 20.11 kB / 0.6017 GB, free: 45.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4816, allocations: 50.33 kB / 0.6018 GB, free: 45.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.807e-06/0.4816, allocations: 0 / 0.6018 GB, free: 45.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02606/0.5077, allocations: 9.24 MB / 0.6108 GB, free: 41.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.5077, allocations: 94.05 kB / 0.6109 GB, free: 41.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.5094, allocations: 1.071 MB / 0.612 GB, free: 41.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.5096, allocations: 51.48 kB / 0.612 GB, free: 41.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.5101, allocations: 0.8081 MB / 0.6128 GB, free: 40.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/0.5106, allocations: 0.6137 MB / 0.6134 GB, free: 40.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006095/0.5112, allocations: 349.9 kB / 0.6137 GB, free: 40.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.5113, allocations: 306.5 kB / 0.614 GB, free: 39.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.5128, allocations: 0.849 MB / 0.6148 GB, free: 39.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.5142, allocations: 1.347 MB / 0.6162 GB, free: 38.28 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.01254/0.5267, allocations: 5.191 MB / 0.6212 GB, free: 35.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.5267, allocations: 7.688 kB / 0.6212 GB, free: 35.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008081/0.5348, allocations: 4.14 MB / 0.6253 GB, free: 32.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.5348, allocations: 13.97 kB / 0.6253 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.5349, allocations: 16 kB / 0.6253 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004241/0.5391, allocations: 1.611 MB / 0.6269 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5403, allocations: 319.4 kB / 0.6272 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/0.5632, allocations: 20.89 MB / 0.6476 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.5651, allocations: 103.8 kB / 0.6477 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.5653, allocations: 83.98 kB / 0.6478 GB, free: 8.242 MB / 446.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009302/0.5662, allocations: 0.5403 MB / 0.6483 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.5665, allocations: 159 kB / 0.6485 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/0.571, allocations: 2.806 MB / 0.6512 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5711, allocations: 16 kB / 0.6512 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.5711, allocations: 7.938 kB / 0.6512 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.5711, allocations: 7.969 kB / 0.6512 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/0.5792, allocations: 4.799 MB / 0.6559 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5792, allocations: 4 kB / 0.6559 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.581, allocations: 351.8 kB / 0.6562 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.5828, allocations: 0.4913 MB / 0.6567 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.583, allocations: 55.91 kB / 0.6568 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.5964, allocations: 12.74 MB / 0.6692 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.5964, allocations: 4.031 kB / 0.6692 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007316/0.6037, allocations: 3.708 MB / 0.6729 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/0.6046, allocations: 375.8 kB / 0.6732 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.6049, allocations: 59.92 kB / 0.6733 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.6059, allocations: 71.92 kB / 0.6733 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.6062, allocations: 125 kB / 0.6735 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.6064, allocations: 51.98 kB / 0.6735 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.6074, allocations: 0.71 MB / 0.6742 GB, free: 11.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6074, allocations: 0 / 0.6742 GB, free: 11.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002534/0.61, allocations: 0.5976 MB / 0.6748 GB, free: 11.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008279/0.6183, allocations: 4.347 MB / 0.679 GB, free: 6.652 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007062/0.6253, allocations: 3.386 MB / 0.6823 GB, free: 3.184 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.6253, allocations: 0 / 0.6823 GB, free: 3.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00375/0.6291, allocations: 1.831 MB / 0.6841 GB, free: 1.262 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.631, allocations: 340.7 kB / 0.6844 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04105/0.6721, allocations: 19.89 MB / 0.7039 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.6737, allocations: 1.641 MB / 0.7055 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001289/0.675, allocations: 445.3 kB / 0.7059 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.6761, allocations: 0.7062 MB / 0.7066 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.6761, allocations: 4 kB / 0.7066 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/0.7927, allocations: 48.38 MB / 0.7538 GB, free: 9.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.05, allocations: 0 / 0.7538 GB, free: 9.352 MB / 0.545 GB " [Timeout remaining time 643] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.056822557991836] Failed to read output from testmodel.py, exit status != 0: 17.227687302045524 17.25355069 17.04112851 Calling exit ...