Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001717/0.001717, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.002177/0.002177, allocations: 212.2 kB / 23.73 MB, free: 4.152 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1898/0.1898, allocations: 38.56 MB / 352.5 MB, free: 12.32 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_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",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.002067/0.002067, allocations: 67.91 kB / 492.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3438, allocations: 62.46 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01086/0.3546, allocations: 7.671 MB / 0.5494 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009857/0.3645, allocations: 5.046 MB / 0.5543 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/0.3654, allocations: 37.81 kB / 0.5544 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01337/0.3787, allocations: 5.747 MB / 0.56 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.3816, allocations: 0.8519 MB / 0.5608 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.3833, allocations: 0.503 MB / 0.5613 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005287/0.3886, allocations: 2.62 MB / 0.5639 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.3901, allocations: 0.5477 MB / 0.5644 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.3919, allocations: 0.794 MB / 0.5652 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.3941, allocations: 1.082 MB / 0.5662 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005197/0.3947, allocations: 104 kB / 0.5663 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.396, allocations: 383.5 kB / 0.5667 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.3971, allocations: 0.6739 MB / 0.5674 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.3985, allocations: 0.5717 MB / 0.5679 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.4015, allocations: 1.755 MB / 0.5696 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4015, allocations: 0 / 0.5696 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4015, allocations: 7.938 kB / 0.5696 GB, free: 7.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.142e-05/0.4016, allocations: 0 / 0.5696 GB, free: 7.801 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004567/0.4061, allocations: 1.551 MB / 0.5712 GB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.4062, allocations: 15.98 kB / 0.5712 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/0.4065, allocations: 165.2 kB / 0.5713 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.408, allocations: 275.8 kB / 0.5716 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.4104, allocations: 0.8774 MB / 0.5725 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.4104, allocations: 69.98 kB / 0.5725 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/0.4109, allocations: 191.8 kB / 0.5727 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.4137, allocations: 1.558 MB / 0.5742 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.4138, allocations: 7.938 kB / 0.5742 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.4139, allocations: 43.98 kB / 0.5743 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006114/0.4145, allocations: 145.9 kB / 0.5744 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.4169, allocations: 1.245 MB / 0.5756 GB, free: 1.504 MB / 414.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.01013/0.427, allocations: 5.644 MB / 0.5811 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.4288, allocations: 0.8808 MB / 0.582 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.4296, allocations: 480.5 kB / 0.5825 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.517e-05/0.4297, allocations: 16.98 kB / 0.5825 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.4297, allocations: 51.44 kB / 0.5825 GB, free: 10.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.406e-06/0.4297, allocations: 0 / 0.5825 GB, free: 10.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007405/0.4371, allocations: 3.254 MB / 0.5857 GB, free: 6.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.4372, allocations: 94.05 kB / 0.5858 GB, free: 6.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4383, allocations: 0.7389 MB / 0.5865 GB, free: 6.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.4384, allocations: 45.7 kB / 0.5866 GB, free: 5.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.4389, allocations: 0.5667 MB / 0.5871 GB, free: 5.395 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.4393, allocations: 384.7 kB / 0.5875 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.4396, allocations: 238.9 kB / 0.5877 GB, free: 4.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.4399, allocations: 414.7 kB / 0.5881 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.4409, allocations: 0.5647 MB / 0.5887 GB, free: 3.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.4422, allocations: 0.8892 MB / 0.5895 GB, free: 2.777 MB / 430.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.008885/0.4511, allocations: 3.228 MB / 0.5927 GB, free: 15.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.4511, allocations: 8 kB / 0.5927 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006363/0.4575, allocations: 2.694 MB / 0.5953 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.4575, allocations: 8 kB / 0.5953 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.4575, allocations: 12 kB / 0.5953 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/0.4606, allocations: 1.14 MB / 0.5964 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.4615, allocations: 203.6 kB / 0.5966 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.483, allocations: 11.91 MB / 0.6083 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.4841, allocations: 59.95 kB / 0.6083 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/0.4844, allocations: 60.03 kB / 0.6084 GB, free: 15.08 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.4856, allocations: 401.3 kB / 0.6088 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.4861, allocations: 103.3 kB / 0.6089 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.4898, allocations: 1.257 MB / 0.6101 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.4898, allocations: 8 kB / 0.6101 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.4898, allocations: 4 kB / 0.6101 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.4898, allocations: 3.984 kB / 0.6101 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/0.4964, allocations: 2.373 MB / 0.6124 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.4965, allocations: 11.92 kB / 0.6124 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.4981, allocations: 275.6 kB / 0.6127 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.4983, allocations: 57.67 kB / 0.6128 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.4985, allocations: 39.98 kB / 0.6128 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.5012, allocations: 2.617 MB / 0.6153 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5013, allocations: 4 kB / 0.6153 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/0.5046, allocations: 1.743 MB / 0.6171 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007688/0.5053, allocations: 179.3 kB / 0.6172 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.5056, allocations: 51.97 kB / 0.6173 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/0.5064, allocations: 43.89 kB / 0.6173 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.5066, allocations: 68.81 kB / 0.6174 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.5067, allocations: 31.98 kB / 0.6174 GB, free: 5.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008481/0.5075, allocations: 499 kB / 0.6179 GB, free: 4.957 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5075, allocations: 0 / 0.6179 GB, free: 4.957 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001519/0.509, allocations: 376 kB / 0.6182 GB, free: 4.59 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003681/0.5127, allocations: 2.341 MB / 0.6205 GB, free: 2.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.517, allocations: 2.027 MB / 0.6225 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.517, allocations: 4 kB / 0.6225 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.5183, allocations: 0.7335 MB / 0.6232 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5197, allocations: 229.4 kB / 0.6234 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/0.5475, allocations: 13.91 MB / 0.637 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.5488, allocations: 0.7093 MB / 0.6377 GB, free: 52 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.5498, allocations: 316 kB / 0.638 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008387/0.5507, allocations: 463.2 kB / 0.6385 GB, free: 15.29 MB / 494.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5507, allocations: 0 / 0.6385 GB, free: 15.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08191/0.6326, allocations: 30.73 MB / 0.6685 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.73, allocations: 7.922 kB / 0.6685 GB, free: 0.8555 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.607577953021973] Failed to read output from testmodel.py, exit status != 0: 14.86481633875519 14.880412352 14.475527355 Calling exit ...