Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001733/0.001733, 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.002167/0.002167, allocations: 214.1 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.1899/0.1899, allocations: 38.55 MB / 353.2 MB, free: 12.32 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_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",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.001977/0.001977, allocations: 55.91 kB / 493.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 62.46 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01412/0.3876, allocations: 10.23 MB / 0.5527 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.4003, allocations: 6.468 MB / 0.559 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.4019, allocations: 64.66 kB / 0.5591 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02624/0.4282, allocations: 14.4 MB / 0.5731 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.4315, allocations: 1.124 MB / 0.5742 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.4336, allocations: 0.6706 MB / 0.5749 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007202/0.4408, allocations: 4.082 MB / 0.5789 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.4427, allocations: 0.8475 MB / 0.5797 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.4455, allocations: 1.125 MB / 0.5808 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003163/0.4487, allocations: 1.515 MB / 0.5823 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.449, allocations: 144 kB / 0.5824 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.4505, allocations: 0.5578 MB / 0.5829 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.4515, allocations: 0.9077 MB / 0.5838 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.4527, allocations: 0.7933 MB / 0.5846 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.4562, allocations: 2.53 MB / 0.5871 GB, free: 6.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4562, allocations: 0 / 0.5871 GB, free: 6.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4562, allocations: 0 / 0.5871 GB, free: 6.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.641e-05/0.4562, allocations: 0 / 0.5871 GB, free: 6.711 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004803/0.461, allocations: 2.143 MB / 0.5892 GB, free: 4.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4611, allocations: 11.98 kB / 0.5892 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.93e-05/0.4611, allocations: 42.86 kB / 0.5892 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002935/0.4614, allocations: 224.2 kB / 0.5894 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.4634, allocations: 379 kB / 0.5898 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.4661, allocations: 1.189 MB / 0.591 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.4662, allocations: 98.66 kB / 0.591 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000606/0.4668, allocations: 231.9 kB / 0.5913 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.4706, allocations: 2.153 MB / 0.5934 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-05/0.4706, allocations: 19.88 kB / 0.5934 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.4709, allocations: 56.03 kB / 0.5934 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007905/0.4717, allocations: 182.7 kB / 0.5936 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.4748, allocations: 1.752 MB / 0.5953 GB, free: 14.04 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.01267/0.4875, allocations: 7.657 MB / 0.6028 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.49, allocations: 1.288 MB / 0.6041 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.4914, allocations: 0.7195 MB / 0.6048 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.4915, allocations: 17 kB / 0.6048 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.4915, allocations: 55.5 kB / 0.6048 GB, free: 3.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.997e-06/0.4915, allocations: 0 / 0.6048 GB, free: 3.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01997/0.5115, allocations: 7.148 MB / 0.6118 GB, free: 12.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.5115, allocations: 94.42 kB / 0.6119 GB, free: 12.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.513, allocations: 1.033 MB / 0.6129 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.5132, allocations: 49.7 kB / 0.613 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.5139, allocations: 0.7895 MB / 0.6137 GB, free: 10.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006079/0.5145, allocations: 0.5539 MB / 0.6143 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005463/0.5151, allocations: 339.4 kB / 0.6146 GB, free: 9.863 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5153, allocations: 305.1 kB / 0.6149 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.5166, allocations: 0.7769 MB / 0.6156 GB, free: 8.785 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.5183, allocations: 1.247 MB / 0.6169 GB, free: 7.344 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.01739/0.5357, allocations: 5.61 MB / 0.6223 GB, free: 1.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.5357, allocations: 4 kB / 0.6223 GB, free: 1.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009958/0.5457, allocations: 3.785 MB / 0.626 GB, free: 13.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.5457, allocations: 10.81 kB / 0.6261 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/0.5458, allocations: 19.94 kB / 0.6261 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006258/0.552, allocations: 1.717 MB / 0.6277 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.5532, allocations: 263.6 kB / 0.628 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02907/0.5823, allocations: 17.86 MB / 0.6454 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.5837, allocations: 91.94 kB / 0.6455 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.5839, allocations: 75.98 kB / 0.6456 GB, free: 9.266 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.generator.psi_rq[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * 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 {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.585, allocations: 0.5211 MB / 0.6461 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.5853, allocations: 151 kB / 0.6463 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005542/0.5909, allocations: 2.243 MB / 0.6484 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.5909, allocations: 19.94 kB / 0.6485 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.5909, allocations: 4 kB / 0.6485 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.5909, allocations: 11.97 kB / 0.6485 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009177/0.6001, allocations: 3.966 MB / 0.6524 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.6001, allocations: 4 kB / 0.6524 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.6018, allocations: 307.9 kB / 0.6527 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.6046, allocations: 0.5464 MB / 0.6532 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.6048, allocations: 51.97 kB / 0.6532 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.6161, allocations: 9.575 MB / 0.6626 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.6162, allocations: 11.91 kB / 0.6626 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00665/0.6228, allocations: 3.058 MB / 0.6656 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/0.6236, allocations: 282.8 kB / 0.6659 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.6238, allocations: 51.98 kB / 0.6659 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/0.6248, allocations: 59.94 kB / 0.666 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/0.6251, allocations: 121 kB / 0.6661 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6252, allocations: 43.98 kB / 0.6661 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001057/0.6263, allocations: 0.697 MB / 0.6668 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6263, allocations: 0 / 0.6668 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002053/0.6283, allocations: 0.5663 MB / 0.6674 GB, free: 2.199 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,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]) * 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 (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006995/0.6353, allocations: 3.689 MB / 0.671 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005982/0.6413, allocations: 3 MB / 0.6739 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6413, allocations: 0 / 0.6739 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.6439, allocations: 1.532 MB / 0.6754 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.6456, allocations: 326.7 kB / 0.6757 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/0.6824, allocations: 18.71 MB / 0.694 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.6837, allocations: 1.001 MB / 0.6949 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00114/0.6848, allocations: 408.5 kB / 0.6953 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009538/0.6858, allocations: 0.6594 MB / 0.696 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.6858, allocations: 0 / 0.696 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3378/1.024, allocations: 47.36 MB / 0.7422 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/18.03, allocations: 15 kB / 0.7422 GB, free: 172.2 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.068799985107034] Failed to read output from testmodel.py, exit status != 0: 18.250539651024155 18.276587071 17.815462155 Calling exit ...