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.001327/0.001327, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002085/0.002085, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.609/1.609, 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.1862/0.1862, allocations: 38.51 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_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_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.001933/0.001933, allocations: 59.91 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1088, allocations: 62.42 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0139/0.1227, allocations: 11.08 MB / 0.5475 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1356, allocations: 7.156 MB / 0.5545 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.1372, allocations: 63.5 kB / 0.5545 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02322/0.1604, allocations: 13 MB / 0.5672 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.1636, allocations: 1.116 MB / 0.5683 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.1656, allocations: 0.655 MB / 0.569 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006381/0.172, allocations: 3.922 MB / 0.5728 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.1735, allocations: 0.7973 MB / 0.5736 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.1755, allocations: 1.109 MB / 0.5746 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.1781, allocations: 1.511 MB / 0.5761 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.1784, allocations: 155.9 kB / 0.5763 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.1798, allocations: 0.5461 MB / 0.5768 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009882/0.1808, allocations: 0.896 MB / 0.5777 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.182, allocations: 0.9562 MB / 0.5786 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.1854, allocations: 2.518 MB / 0.5811 GB, free: 9.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1854, allocations: 0 / 0.5811 GB, free: 9.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1854, allocations: 0 / 0.5811 GB, free: 9.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.1854, allocations: 0 / 0.5811 GB, free: 9.945 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.004868/0.1903, allocations: 2.214 MB / 0.5832 GB, free: 7.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1903, allocations: 12.03 kB / 0.5832 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003301/0.1907, allocations: 228.1 kB / 0.5835 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.1928, allocations: 375.2 kB / 0.5838 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.1958, allocations: 1.296 MB / 0.5851 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-05/0.1959, allocations: 102.7 kB / 0.5852 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006243/0.1965, allocations: 227.8 kB / 0.5854 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/0.2001, allocations: 2.153 MB / 0.5875 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/0.2002, allocations: 11.89 kB / 0.5875 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.2003, allocations: 55.98 kB / 0.5876 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006938/0.201, allocations: 190.7 kB / 0.5877 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.2043, allocations: 1.756 MB / 0.5895 GB, free: 1.113 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.2378/0.4421, allocations: 8.579 MB / 0.5978 GB, free: 47.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.4448, allocations: 1.755 MB / 0.5996 GB, free: 46.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.4462, allocations: 0.7154 MB / 0.6003 GB, free: 45.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.641e-05/0.4463, allocations: 18.98 kB / 0.6003 GB, free: 45.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.4464, allocations: 47.41 kB / 0.6003 GB, free: 45.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.557e-06/0.4464, allocations: 0 / 0.6003 GB, free: 45.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02032/0.4667, allocations: 7.601 MB / 0.6077 GB, free: 42.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4667, allocations: 97.83 kB / 0.6078 GB, free: 42.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.4682, allocations: 1.04 MB / 0.6088 GB, free: 42.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.4685, allocations: 51.58 kB / 0.6089 GB, free: 42.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/0.469, allocations: 0.7849 MB / 0.6097 GB, free: 41.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/0.4695, allocations: 0.5663 MB / 0.6102 GB, free: 41.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/0.47, allocations: 329.6 kB / 0.6105 GB, free: 41.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.47, allocations: 307 kB / 0.6108 GB, free: 40.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.4714, allocations: 0.7717 MB / 0.6116 GB, free: 40.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.4731, allocations: 1.245 MB / 0.6128 GB, free: 39.72 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.01589/0.489, allocations: 5.691 MB / 0.6184 GB, free: 37.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.489, allocations: 3.719 kB / 0.6184 GB, free: 37.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008428/0.4974, allocations: 3.852 MB / 0.6221 GB, free: 34.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4975, allocations: 15.98 kB / 0.6221 GB, free: 34.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.4975, allocations: 16 kB / 0.6221 GB, free: 34.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005396/0.5029, allocations: 1.723 MB / 0.6238 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5039, allocations: 269.5 kB / 0.6241 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/0.5257, allocations: 18.51 MB / 0.6422 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5273, allocations: 84 kB / 0.6422 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.5275, allocations: 79.98 kB / 0.6423 GB, free: 13.44 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.000914/0.5284, allocations: 0.54 MB / 0.6428 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.5287, allocations: 158.9 kB / 0.643 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.5333, allocations: 2.397 MB / 0.6453 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5334, allocations: 16 kB / 0.6454 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.5334, allocations: 4 kB / 0.6454 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.5334, allocations: 7.969 kB / 0.6454 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007799/0.5412, allocations: 4.309 MB / 0.6496 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5412, allocations: 6.75 kB / 0.6496 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.5427, allocations: 311.9 kB / 0.6499 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/0.5452, allocations: 0.5451 MB / 0.6504 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.5454, allocations: 51.97 kB / 0.6505 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.5557, allocations: 10.14 MB / 0.6604 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5557, allocations: 4 kB / 0.6604 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007099/0.5628, allocations: 3.228 MB / 0.6635 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/0.5637, allocations: 348 kB / 0.6639 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.564, allocations: 59.92 kB / 0.6639 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/0.5649, allocations: 55.95 kB / 0.664 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.5652, allocations: 125 kB / 0.6641 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5653, allocations: 43.98 kB / 0.6641 GB, free: 6.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.5664, allocations: 0.6892 MB / 0.6648 GB, free: 5.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5664, allocations: 0 / 0.6648 GB, free: 5.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002306/0.5687, allocations: 0.5663 MB / 0.6654 GB, free: 4.852 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.007601/0.5763, allocations: 3.832 MB / 0.6691 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006321/0.5826, allocations: 3.008 MB / 0.672 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5826, allocations: 0 / 0.672 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003032/0.5857, allocations: 1.528 MB / 0.6735 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.5879, allocations: 330.3 kB / 0.6738 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04147/0.6294, allocations: 18.83 MB / 0.6922 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.6312, allocations: 1.588 MB / 0.6938 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001297/0.6325, allocations: 400.5 kB / 0.6942 GB, free: 6.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009945/0.6335, allocations: 0.6594 MB / 0.6948 GB, free: 5.816 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6335, allocations: 0 / 0.6948 GB, free: 5.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/0.785, allocations: 46.99 MB / 0.7407 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.43, allocations: 0 / 0.7407 GB, free: 7.066 MB / 0.5294 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.54778078000527] Failed to read output from testmodel.py, exit status != 0: 16.556068575999234 16.581563449 16.391055469 Calling exit ...