Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001636/0.001636, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001979/0.001979, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1853/0.1853, allocations: 38.52 MB / 348.7 MB, free: 2.645 MB / 270.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-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_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",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.001966/0.001966, allocations: 67.89 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1101, allocations: 62.42 MB / 0.5367 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01348/0.1236, allocations: 11.07 MB / 0.5475 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.1361, allocations: 7.156 MB / 0.5545 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.1373, allocations: 63.5 kB / 0.5545 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02186/0.1592, allocations: 13.01 MB / 0.5672 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.1622, allocations: 1.12 MB / 0.5683 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1639, allocations: 0.655 MB / 0.569 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005524/0.1695, allocations: 3.918 MB / 0.5728 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1706, allocations: 0.7973 MB / 0.5736 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.1722, allocations: 1.109 MB / 0.5747 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.1743, allocations: 1.511 MB / 0.5761 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.1746, allocations: 144 kB / 0.5763 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1757, allocations: 0.546 MB / 0.5768 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008906/0.1766, allocations: 0.9038 MB / 0.5777 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.1776, allocations: 0.9562 MB / 0.5786 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.1805, allocations: 2.518 MB / 0.5811 GB, free: 9.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1806, allocations: 0 / 0.5811 GB, free: 9.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1806, allocations: 0 / 0.5811 GB, free: 9.934 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.456e-05/0.1806, allocations: 4 kB / 0.5811 GB, free: 9.93 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004366/0.185, allocations: 2.202 MB / 0.5832 GB, free: 7.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.185, allocations: 12.03 kB / 0.5833 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003053/0.1853, allocations: 228.2 kB / 0.5835 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.1874, allocations: 387.1 kB / 0.5838 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.19, allocations: 1.292 MB / 0.5851 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.19, allocations: 102.7 kB / 0.5852 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.1906, allocations: 227.9 kB / 0.5854 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.1941, allocations: 2.153 MB / 0.5875 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.1942, allocations: 19.81 kB / 0.5875 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.1943, allocations: 55.98 kB / 0.5876 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007076/0.195, allocations: 182.7 kB / 0.5878 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/0.1981, allocations: 1.756 MB / 0.5895 GB, free: 1.102 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.236/0.4342, allocations: 8.58 MB / 0.5979 GB, free: 47.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.437, allocations: 1.749 MB / 0.5996 GB, free: 46.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4384, allocations: 0.7201 MB / 0.6003 GB, free: 45.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.264e-05/0.4385, allocations: 25.94 kB / 0.6003 GB, free: 45.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.4385, allocations: 44.91 kB / 0.6003 GB, free: 45.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.077e-06/0.4385, allocations: 4.797 kB / 0.6003 GB, free: 45.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01971/0.4583, allocations: 7.597 MB / 0.6078 GB, free: 42.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.4583, allocations: 93.86 kB / 0.6079 GB, free: 42.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.4598, allocations: 1.041 MB / 0.6089 GB, free: 42.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.4599, allocations: 51.64 kB / 0.6089 GB, free: 42.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.4604, allocations: 0.7797 MB / 0.6097 GB, free: 41.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.4608, allocations: 0.569 MB / 0.6102 GB, free: 41.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005036/0.4613, allocations: 331.8 kB / 0.6106 GB, free: 41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.4613, allocations: 302 kB / 0.6108 GB, free: 40.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.4628, allocations: 0.7809 MB / 0.6116 GB, free: 40.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.4643, allocations: 1.244 MB / 0.6128 GB, free: 39.64 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.01584/0.4801, allocations: 5.688 MB / 0.6184 GB, free: 37.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.4801, allocations: 3.688 kB / 0.6184 GB, free: 37.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008212/0.4884, allocations: 3.853 MB / 0.6221 GB, free: 34.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4884, allocations: 12.16 kB / 0.6222 GB, free: 34.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.4884, allocations: 16 kB / 0.6222 GB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005279/0.4937, allocations: 1.726 MB / 0.6239 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.4947, allocations: 267.5 kB / 0.6241 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.5157, allocations: 18.51 MB / 0.6422 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.5173, allocations: 79.94 kB / 0.6423 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.5175, allocations: 76 kB / 0.6423 GB, free: 13.39 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.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.0009622/0.5185, allocations: 0.5481 MB / 0.6429 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.5188, allocations: 151 kB / 0.643 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004627/0.5234, allocations: 2.389 MB / 0.6453 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5235, allocations: 13.19 kB / 0.6454 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.5235, allocations: 8 kB / 0.6454 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.5235, allocations: 7.969 kB / 0.6454 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007801/0.5313, allocations: 4.317 MB / 0.6496 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5313, allocations: 4 kB / 0.6496 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.5328, allocations: 311.9 kB / 0.6499 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/0.5353, allocations: 0.5581 MB / 0.6504 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.5354, allocations: 51.97 kB / 0.6505 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.5455, allocations: 10.14 MB / 0.6604 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5455, allocations: 4 kB / 0.6604 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/0.5523, allocations: 3.221 MB / 0.6635 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008297/0.5531, allocations: 352 kB / 0.6639 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.5533, allocations: 55.94 kB / 0.6639 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/0.5542, allocations: 59.94 kB / 0.664 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003564/0.5546, allocations: 121 kB / 0.6641 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.5547, allocations: 43.98 kB / 0.6641 GB, free: 6.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.5558, allocations: 0.6931 MB / 0.6648 GB, free: 5.359 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5558, allocations: 4 kB / 0.6648 GB, free: 5.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002616/0.5584, allocations: 0.5702 MB / 0.6654 GB, free: 4.785 MB / 462.1 MB 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.007386/0.5658, allocations: 3.836 MB / 0.6691 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006007/0.5718, allocations: 2.995 MB / 0.672 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5718, allocations: 0 / 0.672 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.5745, allocations: 1.533 MB / 0.6735 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.5763, allocations: 327.6 kB / 0.6739 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/0.614, allocations: 18.84 MB / 0.6923 GB, free: 8.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.6156, allocations: 1.588 MB / 0.6938 GB, free: 6.816 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.6167, allocations: 404.5 kB / 0.6942 GB, free: 6.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.6178, allocations: 0.6555 MB / 0.6948 GB, free: 5.758 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6178, allocations: 4 kB / 0.6948 GB, free: 5.754 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.7245, allocations: 46.99 MB / 0.7407 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.57, allocations: 7.938 kB / 0.7407 GB, free: 7.008 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.620544080156833] Failed to read output from testmodel.py, exit status != 0: 16.68792804190889 16.70259331 16.51899733 Calling exit ...