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.001621/0.001621, allocations: 113 kB / 18.49 MB, free: 4.598 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.001768/0.001768, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.493/1.493, allocations: 230.6 MB / 254.8 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.2226/0.2226, allocations: 38.51 MB / 349.4 MB, free: 2.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="cs",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.002073/0.002073, allocations: 63.91 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 62.42 MB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01416/0.1329, allocations: 11.15 MB / 0.5482 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.1462, allocations: 7.141 MB / 0.5552 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.1478, allocations: 67.44 kB / 0.5553 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0225/0.1703, allocations: 12.97 MB / 0.5679 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.1734, allocations: 1.136 MB / 0.5691 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.1753, allocations: 0.6901 MB / 0.5697 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005709/0.181, allocations: 4.024 MB / 0.5737 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.1822, allocations: 0.8052 MB / 0.5744 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.1839, allocations: 1.152 MB / 0.5756 GB, free: 268 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.1861, allocations: 1.554 MB / 0.5771 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000295/0.1864, allocations: 152 kB / 0.5772 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1875, allocations: 0.5578 MB / 0.5778 GB, free: 14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009427/0.1885, allocations: 0.9194 MB / 0.5787 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.1897, allocations: 0.9873 MB / 0.5796 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.1931, allocations: 2.58 MB / 0.5822 GB, free: 9.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1931, allocations: 0 / 0.5822 GB, free: 9.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1931, allocations: 0 / 0.5822 GB, free: 9.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.1931, allocations: 0 / 0.5822 GB, free: 9.492 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.004908/0.198, allocations: 2.292 MB / 0.5844 GB, free: 7.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1981, allocations: 8.031 kB / 0.5844 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.259e-05/0.1981, allocations: 38.94 kB / 0.5844 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003033/0.1984, allocations: 232.5 kB / 0.5847 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.2007, allocations: 394.9 kB / 0.585 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.2036, allocations: 1.347 MB / 0.5864 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.793e-05/0.2037, allocations: 106.7 kB / 0.5865 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006367/0.2043, allocations: 235.8 kB / 0.5867 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/0.2081, allocations: 2.192 MB / 0.5888 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.2081, allocations: 11.94 kB / 0.5888 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.2083, allocations: 59.98 kB / 0.5889 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007207/0.209, allocations: 182.8 kB / 0.5891 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/0.2123, allocations: 1.834 MB / 0.5909 GB, free: 360 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.2647/0.477, allocations: 8.529 MB / 0.5992 GB, free: 47.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.4796, allocations: 1.841 MB / 0.601 GB, free: 45.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.481, allocations: 0.7568 MB / 0.6017 GB, free: 45.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.4811, allocations: 23.45 kB / 0.6017 GB, free: 45.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.4811, allocations: 45.34 kB / 0.6018 GB, free: 45.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.176e-06/0.4811, allocations: 0 / 0.6018 GB, free: 45.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02429/0.5054, allocations: 9.243 MB / 0.6108 GB, free: 41.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.5054, allocations: 94.23 kB / 0.6109 GB, free: 41.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.5069, allocations: 1.068 MB / 0.612 GB, free: 41.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.507, allocations: 52.27 kB / 0.612 GB, free: 41.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/0.5075, allocations: 0.812 MB / 0.6128 GB, free: 40.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/0.508, allocations: 0.6109 MB / 0.6134 GB, free: 40.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005777/0.5086, allocations: 359.7 kB / 0.6137 GB, free: 40.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.5086, allocations: 301.1 kB / 0.614 GB, free: 39.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.5101, allocations: 0.8497 MB / 0.6148 GB, free: 39.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.5114, allocations: 1.346 MB / 0.6162 GB, free: 38.41 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.01261/0.5241, allocations: 5.19 MB / 0.6212 GB, free: 35.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/0.5241, allocations: 3.875 kB / 0.6212 GB, free: 35.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008084/0.5322, allocations: 4.143 MB / 0.6253 GB, free: 31.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.5322, allocations: 12 kB / 0.6253 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.5322, allocations: 12 kB / 0.6253 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00429/0.5365, allocations: 1.615 MB / 0.6269 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.5378, allocations: 319.5 kB / 0.6272 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.5591, allocations: 20.9 MB / 0.6476 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.5607, allocations: 99.81 kB / 0.6477 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.561, allocations: 87.92 kB / 0.6478 GB, free: 8.109 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.0009081/0.5619, allocations: 0.5544 MB / 0.6483 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/0.5622, allocations: 159 kB / 0.6485 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004595/0.5668, allocations: 2.793 MB / 0.6512 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.5668, allocations: 23.94 kB / 0.6512 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.5668, allocations: 7.938 kB / 0.6512 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.5669, allocations: 11.97 kB / 0.6512 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007932/0.5748, allocations: 4.795 MB / 0.6559 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.5748, allocations: 4 kB / 0.6559 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.5766, allocations: 343.9 kB / 0.6563 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/0.5783, allocations: 0.4933 MB / 0.6567 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/0.5785, allocations: 59.91 kB / 0.6568 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.5918, allocations: 12.74 MB / 0.6692 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5918, allocations: 3.984 kB / 0.6692 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007478/0.5993, allocations: 3.702 MB / 0.6729 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.6005, allocations: 379.8 kB / 0.6732 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003645/0.6009, allocations: 51.98 kB / 0.6733 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.6019, allocations: 71.92 kB / 0.6733 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.6023, allocations: 129.2 kB / 0.6735 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.6024, allocations: 51.97 kB / 0.6735 GB, free: 12.33 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.6035, allocations: 0.7139 MB / 0.6742 GB, free: 11.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6035, allocations: 0 / 0.6742 GB, free: 11.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002544/0.6061, allocations: 0.5976 MB / 0.6748 GB, free: 11.02 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.007727/0.6138, allocations: 4.335 MB / 0.679 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006656/0.6205, allocations: 3.387 MB / 0.6823 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6205, allocations: 4 kB / 0.6823 GB, free: 3.059 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.6238, allocations: 1.83 MB / 0.6841 GB, free: 1.141 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.6256, allocations: 344.5 kB / 0.6844 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03976/0.6654, allocations: 19.88 MB / 0.7039 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/0.6671, allocations: 1.649 MB / 0.7055 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0014/0.6685, allocations: 437.3 kB / 0.7059 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.6697, allocations: 0.7063 MB / 0.7066 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.6697, allocations: 0 / 0.7066 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/0.7808, allocations: 48.36 MB / 0.7538 GB, free: 9.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/16.87, allocations: 14.5 kB / 0.7538 GB, free: 9.242 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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.901251130970195] Failed to read output from testmodel.py, exit status != 0: 17.060721810965333 17.087102513 16.888920725 Calling exit ...