Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001344/0.001344, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001492/0.001492, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.1855/0.1855, allocations: 38.56 MB / 353.2 MB, free: 12.29 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_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_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.002016/0.002016, allocations: 59.91 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 62.47 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01285/0.3411, allocations: 10.27 MB / 0.5527 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.3528, allocations: 6.461 MB / 0.559 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.3544, allocations: 69.09 kB / 0.5591 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02632/0.3807, allocations: 14.36 MB / 0.5731 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.3842, allocations: 1.143 MB / 0.5742 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.3863, allocations: 0.7135 MB / 0.5749 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006272/0.3925, allocations: 4.184 MB / 0.579 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.3938, allocations: 0.8632 MB / 0.5799 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.3956, allocations: 1.164 MB / 0.581 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.3981, allocations: 1.565 MB / 0.5825 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.3985, allocations: 148 kB / 0.5827 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.3998, allocations: 0.5695 MB / 0.5832 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.4009, allocations: 0.9194 MB / 0.5841 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.402, allocations: 0.8088 MB / 0.5849 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003386/0.4054, allocations: 2.604 MB / 0.5875 GB, free: 6.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4054, allocations: 0 / 0.5875 GB, free: 6.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4054, allocations: 0 / 0.5875 GB, free: 6.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.757e-05/0.4055, allocations: 0 / 0.5875 GB, free: 6.301 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.00455/0.41, allocations: 2.217 MB / 0.5896 GB, free: 4.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.41, allocations: 11.98 kB / 0.5896 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.773e-05/0.4101, allocations: 42.88 kB / 0.5897 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002962/0.4104, allocations: 232.5 kB / 0.5899 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.4125, allocations: 398.9 kB / 0.5903 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.4153, allocations: 1.228 MB / 0.5915 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.4154, allocations: 102.7 kB / 0.5916 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000624/0.4161, allocations: 243.7 kB / 0.5918 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.4199, allocations: 2.196 MB / 0.594 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.42, allocations: 3.938 kB / 0.594 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.4202, allocations: 63.98 kB / 0.594 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000663/0.4208, allocations: 186.8 kB / 0.5942 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/0.4241, allocations: 1.834 MB / 0.596 GB, free: 13.36 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.01299/0.4371, allocations: 7.6 MB / 0.6034 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.4397, allocations: 1.381 MB / 0.6048 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.4411, allocations: 0.7473 MB / 0.6055 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.523e-05/0.4412, allocations: 25.19 kB / 0.6055 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4412, allocations: 43.88 kB / 0.6056 GB, free: 3.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.607e-06/0.4412, allocations: 0 / 0.6056 GB, free: 3.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02453/0.4657, allocations: 8.487 MB / 0.6138 GB, free: 10.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.4658, allocations: 94.42 kB / 0.6139 GB, free: 10.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.4673, allocations: 1.063 MB / 0.615 GB, free: 9.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.4674, allocations: 57.7 kB / 0.615 GB, free: 9.441 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.4681, allocations: 0.8015 MB / 0.6158 GB, free: 8.629 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000575/0.4687, allocations: 0.6237 MB / 0.6164 GB, free: 8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/0.4693, allocations: 347.5 kB / 0.6168 GB, free: 7.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4694, allocations: 305.1 kB / 0.617 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.471, allocations: 0.8472 MB / 0.6179 GB, free: 6.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.473, allocations: 1.348 MB / 0.6192 GB, free: 4.949 MB / 462.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.01453/0.4875, allocations: 5.195 MB / 0.6243 GB, free: 15.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.4876, allocations: 7.938 kB / 0.6243 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009895/0.4974, allocations: 3.98 MB / 0.6282 GB, free: 11.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.4975, allocations: 8 kB / 0.6282 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.4975, allocations: 16 kB / 0.6282 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004867/0.5024, allocations: 1.585 MB / 0.6297 GB, free: 9.938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.5037, allocations: 323.5 kB / 0.63 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02934/0.5331, allocations: 20.03 MB / 0.6496 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5346, allocations: 100 kB / 0.6497 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.5347, allocations: 79.98 kB / 0.6498 GB, free: 4.73 MB / 494.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.001162/0.5359, allocations: 0.544 MB / 0.6503 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.5362, allocations: 163 kB / 0.6505 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/0.5416, allocations: 2.5 MB / 0.6529 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.5416, allocations: 16 kB / 0.6529 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5416, allocations: 7.938 kB / 0.6529 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.5416, allocations: 7.969 kB / 0.6529 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009109/0.5507, allocations: 4.293 MB / 0.6571 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.5507, allocations: 4.312 kB / 0.6571 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.5526, allocations: 347.6 kB / 0.6575 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.5542, allocations: 497.7 kB / 0.6579 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/0.5544, allocations: 51.98 kB / 0.658 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.5673, allocations: 11.98 MB / 0.6697 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5673, allocations: 4 kB / 0.6697 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006923/0.5742, allocations: 3.407 MB / 0.673 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.5753, allocations: 302.8 kB / 0.6733 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.5756, allocations: 47.98 kB / 0.6733 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009808/0.5766, allocations: 71.92 kB / 0.6734 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/0.5769, allocations: 137 kB / 0.6735 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.5771, allocations: 47.92 kB / 0.6736 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001106/0.5782, allocations: 0.7178 MB / 0.6743 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5782, allocations: 0 / 0.6743 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002255/0.5804, allocations: 0.5976 MB / 0.6749 GB, free: 9.961 MB / 0.5137 GB 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.007382/0.5878, allocations: 4.031 MB / 0.6788 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006337/0.5941, allocations: 3.381 MB / 0.6821 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5941, allocations: 1.625 kB / 0.6821 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00321/0.5973, allocations: 1.823 MB / 0.6839 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5991, allocations: 354.2 kB / 0.6842 GB, free: 136 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03927/0.6384, allocations: 19.62 MB / 0.7034 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.6398, allocations: 1.058 MB / 0.7044 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001335/0.6412, allocations: 437.3 kB / 0.7048 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.6423, allocations: 0.7023 MB / 0.7055 GB, free: 9.539 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/0.6423, allocations: 0 / 0.7055 GB, free: 9.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3684/1.011, allocations: 49.39 MB / 0.7538 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/18.19, allocations: 4.984 kB / 0.7538 GB, free: 163.8 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.176380659919232] Failed to read output from testmodel.py, exit status != 0: 18.40291004208848 18.418679659 18.010091682 Calling exit ...