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.001327/0.001327, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001397/0.001397, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.574/1.574, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1836/0.1836, allocations: 38.5 MB / 348.7 MB, free: 2.605 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/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.002014/0.002014, allocations: 63.91 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1179, allocations: 62.42 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01425/0.1322, allocations: 11.16 MB / 0.5476 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.145, allocations: 7.133 MB / 0.5545 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.1464, allocations: 71.44 kB / 0.5546 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02239/0.1688, allocations: 12.96 MB / 0.5673 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.1719, allocations: 1.14 MB / 0.5684 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.1739, allocations: 0.694 MB / 0.569 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006232/0.1802, allocations: 4.024 MB / 0.573 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.1817, allocations: 0.8052 MB / 0.5738 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.184, allocations: 1.14 MB / 0.5749 GB, free: 312 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.1869, allocations: 1.565 MB / 0.5764 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.1874, allocations: 148 kB / 0.5765 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.1887, allocations: 0.5578 MB / 0.5771 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.1897, allocations: 0.9194 MB / 0.578 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.1912, allocations: 0.9795 MB / 0.5789 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003631/0.1949, allocations: 2.588 MB / 0.5815 GB, free: 9.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1949, allocations: 0 / 0.5815 GB, free: 9.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1949, allocations: 0 / 0.5815 GB, free: 9.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.314e-05/0.1949, allocations: 0 / 0.5815 GB, free: 9.527 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.005293/0.2002, allocations: 2.292 MB / 0.5837 GB, free: 7.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2003, allocations: 12.03 kB / 0.5837 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003438/0.2006, allocations: 232.5 kB / 0.5839 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.2029, allocations: 395.1 kB / 0.5843 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.2061, allocations: 1.339 MB / 0.5856 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/0.2062, allocations: 102.7 kB / 0.5857 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006933/0.2069, allocations: 239.8 kB / 0.586 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.211, allocations: 2.192 MB / 0.5881 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.211, allocations: 7.938 kB / 0.5881 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.2112, allocations: 59.98 kB / 0.5882 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007434/0.2119, allocations: 194.8 kB / 0.5883 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.2158, allocations: 1.823 MB / 0.5901 GB, free: 444 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.2402/0.456, allocations: 8.537 MB / 0.5985 GB, free: 47.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.4589, allocations: 1.837 MB / 0.6003 GB, free: 45.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.4604, allocations: 0.7522 MB / 0.601 GB, free: 45.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.4605, allocations: 24.58 kB / 0.601 GB, free: 45.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4605, allocations: 49.59 kB / 0.6011 GB, free: 45.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 2.976e-06/0.4606, allocations: 0 / 0.6011 GB, free: 45.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02403/0.4846, allocations: 9.24 MB / 0.6101 GB, free: 41.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.4846, allocations: 98.16 kB / 0.6102 GB, free: 41.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.4859, allocations: 1.067 MB / 0.6112 GB, free: 41.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.4861, allocations: 51.98 kB / 0.6113 GB, free: 41.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.4865, allocations: 0.8054 MB / 0.6121 GB, free: 40.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000414/0.4869, allocations: 0.6187 MB / 0.6127 GB, free: 40.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/0.4874, allocations: 352.3 kB / 0.613 GB, free: 40.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.4875, allocations: 301.7 kB / 0.6133 GB, free: 39.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.4888, allocations: 0.8546 MB / 0.6141 GB, free: 39.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.4902, allocations: 1.346 MB / 0.6154 GB, free: 38.44 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.01253/0.5027, allocations: 5.191 MB / 0.6205 GB, free: 35.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.5027, allocations: 3.781 kB / 0.6205 GB, free: 35.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.00849/0.5112, allocations: 4.147 MB / 0.6246 GB, free: 32.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.5113, allocations: 12 kB / 0.6246 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.5113, allocations: 12 kB / 0.6246 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/0.5156, allocations: 1.611 MB / 0.6261 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.5169, allocations: 323.4 kB / 0.6265 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.5387, allocations: 20.9 MB / 0.6469 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.5405, allocations: 103.9 kB / 0.647 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.5407, allocations: 80 kB / 0.647 GB, free: 8.207 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.0009659/0.5417, allocations: 0.5464 MB / 0.6476 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.5421, allocations: 159 kB / 0.6477 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.5466, allocations: 2.793 MB / 0.6505 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.5466, allocations: 20 kB / 0.6505 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.5467, allocations: 7.938 kB / 0.6505 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.5467, allocations: 7.969 kB / 0.6505 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.5547, allocations: 4.802 MB / 0.6552 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.5547, allocations: 8 kB / 0.6552 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.5565, allocations: 343.8 kB / 0.6555 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.5581, allocations: 0.4968 MB / 0.656 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/0.5583, allocations: 59.91 kB / 0.6561 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.5717, allocations: 12.74 MB / 0.6685 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5717, allocations: 4 kB / 0.6685 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007219/0.5789, allocations: 3.706 MB / 0.6721 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.5801, allocations: 375.9 kB / 0.6725 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.5803, allocations: 52.12 kB / 0.6725 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/0.5813, allocations: 75.92 kB / 0.6726 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/0.5817, allocations: 137 kB / 0.6727 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.5818, allocations: 47.98 kB / 0.6728 GB, free: 12.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.5831, allocations: 0.71 MB / 0.6735 GB, free: 11.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5831, allocations: 0 / 0.6735 GB, free: 11.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002579/0.5857, allocations: 0.5937 MB / 0.6741 GB, free: 11.12 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.00789/0.5936, allocations: 4.347 MB / 0.6783 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006762/0.6004, allocations: 3.382 MB / 0.6816 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6004, allocations: 0 / 0.6816 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/0.6036, allocations: 1.834 MB / 0.6834 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.6054, allocations: 336.8 kB / 0.6837 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/0.6447, allocations: 19.89 MB / 0.7031 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.6464, allocations: 1.645 MB / 0.7047 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001323/0.6477, allocations: 441.3 kB / 0.7052 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.6488, allocations: 0.7023 MB / 0.7059 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of SimCode: time 1.362e-06/0.6488, allocations: 0 / 0.7059 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.7636, allocations: 48.32 MB / 0.753 GB, free: 9.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.54, allocations: 15.98 kB / 0.7531 GB, free: 9.363 MB / 0.545 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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: 19.573881608986994] Failed to read output from testmodel.py, exit status != 0: 16.67903112800559 16.693505444 16.495410458 Calling exit ...