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.001801/0.001801, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002266/0.002266, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2249/0.2249, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.002183/0.002183, allocations: 75.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01387/0.3305, allocations: 10.23 MB / 0.5519 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.3423, allocations: 6.482 MB / 0.5583 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.3434, allocations: 60.75 kB / 0.5583 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02647/0.3699, allocations: 14.24 MB / 0.5722 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.3734, allocations: 1.132 MB / 0.5733 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.3753, allocations: 0.6628 MB / 0.574 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006613/0.382, allocations: 4.07 MB / 0.578 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.3835, allocations: 0.8358 MB / 0.5788 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.3854, allocations: 1.117 MB / 0.5799 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.388, allocations: 1.464 MB / 0.5813 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.3884, allocations: 144 kB / 0.5814 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.3897, allocations: 0.5461 MB / 0.582 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.3908, allocations: 0.9038 MB / 0.5828 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.392, allocations: 0.7855 MB / 0.5836 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.3954, allocations: 2.537 MB / 0.5861 GB, free: 6.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3954, allocations: 0 / 0.5861 GB, free: 6.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3954, allocations: 0 / 0.5861 GB, free: 6.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.084e-05/0.3955, allocations: 4 kB / 0.5861 GB, free: 6.914 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.004686/0.4002, allocations: 2.135 MB / 0.5882 GB, free: 4.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4002, allocations: 11.98 kB / 0.5882 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003076/0.4005, allocations: 232.1 kB / 0.5884 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.4031, allocations: 371.2 kB / 0.5888 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.4077, allocations: 1.189 MB / 0.5899 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.4079, allocations: 110.6 kB / 0.59 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009875/0.4089, allocations: 231.8 kB / 0.5903 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/0.4144, allocations: 2.149 MB / 0.5924 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.4145, allocations: 11.89 kB / 0.5924 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.4147, allocations: 59.98 kB / 0.5924 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009813/0.4157, allocations: 190.7 kB / 0.5926 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005185/0.4209, allocations: 1.752 MB / 0.5943 GB, free: 14.28 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.01985/0.4407, allocations: 7.642 MB / 0.6018 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.4433, allocations: 1.291 MB / 0.603 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.4449, allocations: 0.7274 MB / 0.6037 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.132e-05/0.445, allocations: 20.92 kB / 0.6038 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.445, allocations: 43.56 kB / 0.6038 GB, free: 4.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.445, allocations: 0 / 0.6038 GB, free: 4.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01917/0.4642, allocations: 7.152 MB / 0.6108 GB, free: 13.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.4643, allocations: 94.36 kB / 0.6109 GB, free: 12.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4659, allocations: 1.06 MB / 0.6119 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.466, allocations: 53.7 kB / 0.612 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.4667, allocations: 0.7817 MB / 0.6127 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/0.4672, allocations: 0.5617 MB / 0.6133 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005463/0.4678, allocations: 339.4 kB / 0.6136 GB, free: 10.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4679, allocations: 301.1 kB / 0.6139 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4693, allocations: 0.773 MB / 0.6146 GB, free: 9.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.4712, allocations: 1.248 MB / 0.6159 GB, free: 7.574 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.01695/0.4882, allocations: 5.606 MB / 0.6213 GB, free: 1.809 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.4882, allocations: 4 kB / 0.6213 GB, free: 1.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009396/0.4976, allocations: 3.788 MB / 0.625 GB, free: 13.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4976, allocations: 12 kB / 0.6251 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.4976, allocations: 12.78 kB / 0.6251 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005692/0.5033, allocations: 1.716 MB / 0.6267 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5044, allocations: 267.5 kB / 0.627 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02977/0.5342, allocations: 17.86 MB / 0.6444 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.5358, allocations: 75.94 kB / 0.6445 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.536, allocations: 87.86 kB / 0.6446 GB, free: 9.504 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.001098/0.5371, allocations: 0.5367 MB / 0.6451 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.5373, allocations: 155 kB / 0.6453 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005385/0.5427, allocations: 2.246 MB / 0.6475 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.5427, allocations: 12 kB / 0.6475 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.5427, allocations: 7.938 kB / 0.6475 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.5428, allocations: 11.97 kB / 0.6475 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008924/0.5517, allocations: 3.955 MB / 0.6514 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.5517, allocations: 8.031 kB / 0.6514 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.5533, allocations: 303.6 kB / 0.6516 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.5559, allocations: 0.5579 MB / 0.6522 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.5561, allocations: 47.97 kB / 0.6522 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.5677, allocations: 9.572 MB / 0.6616 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5677, allocations: 0 / 0.6616 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006552/0.5742, allocations: 3.062 MB / 0.6646 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.5751, allocations: 278.8 kB / 0.6648 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.5754, allocations: 51.92 kB / 0.6649 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.5762, allocations: 59.94 kB / 0.6649 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.5765, allocations: 125 kB / 0.6651 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.873e-05/0.5766, allocations: 43.98 kB / 0.6651 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001054/0.5777, allocations: 0.6892 MB / 0.6658 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5777, allocations: 8 kB / 0.6658 GB, free: 3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001977/0.5796, allocations: 0.5663 MB / 0.6663 GB, free: 2.434 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.006705/0.5863, allocations: 3.694 MB / 0.67 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005893/0.5922, allocations: 2.992 MB / 0.6729 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.551e-05/0.5923, allocations: 4 kB / 0.6729 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/0.595, allocations: 1.536 MB / 0.6744 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.5967, allocations: 326.4 kB / 0.6747 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/0.6358, allocations: 18.7 MB / 0.693 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.6373, allocations: 0.997 MB / 0.6939 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001264/0.6385, allocations: 408.5 kB / 0.6943 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.6396, allocations: 0.6594 MB / 0.695 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of SimCode: time 1.123e-06/0.6396, allocations: 0 / 0.695 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3798/1.019, allocations: 47.11 MB / 0.741 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.92, allocations: 3.391 kB / 0.741 GB, free: 171.3 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.981385638937354] Failed to read output from testmodel.py, exit status != 0: 16.07443152088672 16.089953901 15.69123596 Calling exit ...