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.001771/0.001771, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002419/0.002419, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2154/0.2154, allocations: 38.53 MB / 352.5 MB, free: 12.52 MB / 286.1 MB " [Timeout remaining time 180] 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.00217/0.00217, allocations: 67.91 kB / 492.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3272, allocations: 62.47 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01326/0.3405, allocations: 11.22 MB / 0.553 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3542, allocations: 7.183 MB / 0.56 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.3559, allocations: 64.59 kB / 0.56 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02776/0.3836, allocations: 14.52 MB / 0.5742 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.3877, allocations: 1.12 MB / 0.5753 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.39, allocations: 0.6783 MB / 0.576 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0072/0.3972, allocations: 4.078 MB / 0.5799 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.3991, allocations: 0.8397 MB / 0.5808 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.4013, allocations: 1.117 MB / 0.5819 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.404, allocations: 1.519 MB / 0.5833 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005116/0.4046, allocations: 148 kB / 0.5835 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.4061, allocations: 0.5851 MB / 0.5841 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.4073, allocations: 0.9116 MB / 0.5849 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.4091, allocations: 0.9563 MB / 0.5859 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.413, allocations: 2.514 MB / 0.5883 GB, free: 4.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.413, allocations: 0 / 0.5883 GB, free: 4.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.413, allocations: 0 / 0.5883 GB, free: 4.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.117e-05/0.4131, allocations: 4 kB / 0.5883 GB, free: 4.906 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.005237/0.4183, allocations: 2.145 MB / 0.5904 GB, free: 2.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4184, allocations: 15.98 kB / 0.5904 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000351/0.4187, allocations: 224.1 kB / 0.5907 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.4207, allocations: 379.2 kB / 0.591 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.4237, allocations: 1.181 MB / 0.5922 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.4238, allocations: 106.6 kB / 0.5923 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005856/0.4244, allocations: 231.8 kB / 0.5925 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.4281, allocations: 2.149 MB / 0.5946 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.4281, allocations: 19.94 kB / 0.5946 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.4283, allocations: 51.98 kB / 0.5947 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005983/0.4289, allocations: 186.7 kB / 0.5948 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003184/0.4321, allocations: 1.756 MB / 0.5966 GB, free: 12.27 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.01317/0.4452, allocations: 8.471 MB / 0.6048 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.4477, allocations: 1.298 MB / 0.6061 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.4491, allocations: 0.7157 MB / 0.6068 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-05/0.4492, allocations: 25.06 kB / 0.6068 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.4493, allocations: 43.56 kB / 0.6069 GB, free: 1.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.409e-06/0.4493, allocations: 3.938 kB / 0.6069 GB, free: 1.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01946/0.4687, allocations: 7.148 MB / 0.6139 GB, free: 10.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.4688, allocations: 90.42 kB / 0.6139 GB, free: 9.965 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.4704, allocations: 1.041 MB / 0.615 GB, free: 8.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.4706, allocations: 53.7 kB / 0.615 GB, free: 8.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.4712, allocations: 0.7856 MB / 0.6158 GB, free: 8.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/0.4718, allocations: 0.5655 MB / 0.6163 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/0.4723, allocations: 335.4 kB / 0.6166 GB, free: 7.152 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4724, allocations: 301.1 kB / 0.6169 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4737, allocations: 0.773 MB / 0.6177 GB, free: 6.082 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.4755, allocations: 1.251 MB / 0.6189 GB, free: 4.637 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.01659/0.4921, allocations: 5.602 MB / 0.6244 GB, free: 14.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.4921, allocations: 4 kB / 0.6244 GB, free: 14.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009886/0.502, allocations: 3.788 MB / 0.6281 GB, free: 11.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.502, allocations: 14.66 kB / 0.6281 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.502, allocations: 12 kB / 0.6281 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006191/0.5082, allocations: 1.74 MB / 0.6298 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.5094, allocations: 267.6 kB / 0.6301 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02903/0.5384, allocations: 18.09 MB / 0.6477 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5397, allocations: 79.94 kB / 0.6478 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.5399, allocations: 83.92 kB / 0.6479 GB, free: 6.297 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.001009/0.5409, allocations: 0.5318 MB / 0.6484 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.5412, allocations: 151 kB / 0.6486 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005542/0.5468, allocations: 2.243 MB / 0.6507 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.5468, allocations: 16 kB / 0.6508 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/0.5468, allocations: 7.938 kB / 0.6508 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.5468, allocations: 7.969 kB / 0.6508 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009361/0.5562, allocations: 4.137 MB / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.5562, allocations: 8.188 kB / 0.6548 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.5578, allocations: 307.6 kB / 0.6551 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/0.5605, allocations: 0.5503 MB / 0.6557 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.5607, allocations: 47.97 kB / 0.6557 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.5722, allocations: 9.633 MB / 0.6651 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.5722, allocations: 3.984 kB / 0.6651 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007174/0.5794, allocations: 3.062 MB / 0.6681 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.5806, allocations: 274.9 kB / 0.6684 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/0.581, allocations: 55.86 kB / 0.6684 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5821, allocations: 59.94 kB / 0.6685 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.5824, allocations: 125.1 kB / 0.6686 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.5825, allocations: 44.25 kB / 0.6686 GB, free: 272 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001254/0.5838, allocations: 0.6931 MB / 0.6693 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5838, allocations: 4 kB / 0.6693 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002597/0.5864, allocations: 0.5701 MB / 0.6699 GB, free: 14.99 MB / 0.5137 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.007416/0.5938, allocations: 3.686 MB / 0.6735 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006073/0.5998, allocations: 2.992 MB / 0.6764 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.5999, allocations: 4 kB / 0.6764 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.6026, allocations: 1.524 MB / 0.6779 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.6045, allocations: 339 kB / 0.6782 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03847/0.643, allocations: 18.72 MB / 0.6965 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.6447, allocations: 1.585 MB / 0.698 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001171/0.6459, allocations: 404.5 kB / 0.6984 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/0.6468, allocations: 0.6594 MB / 0.6991 GB, free: 260 kB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.6468, allocations: 0 / 0.6991 GB, free: 260 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3444/0.9912, allocations: 48.74 MB / 0.7467 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.05, allocations: 3.625 kB / 0.7467 GB, free: 169.8 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 21.07615513796918] Failed to read output from testmodel.py, exit status != 0: 18.197316356934607 18.214751149 17.798037733 Calling exit ...