Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001982/0.001982, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002338/0.002338, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1959/0.1959, allocations: 38.53 MB / 352.5 MB, free: 12.55 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_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.002125/0.002125, allocations: 70.55 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3271, allocations: 62.48 MB / 0.542 GB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01425/0.3413, allocations: 11.3 MB / 0.553 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3551, allocations: 7.167 MB / 0.56 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.3569, allocations: 68.41 kB / 0.5601 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02784/0.3847, allocations: 14.48 MB / 0.5742 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.3888, allocations: 1.143 MB / 0.5753 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.3915, allocations: 0.7096 MB / 0.576 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007022/0.3985, allocations: 4.184 MB / 0.5801 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.4004, allocations: 0.8631 MB / 0.581 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.4029, allocations: 1.156 MB / 0.5821 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.4061, allocations: 1.573 MB / 0.5836 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005479/0.4066, allocations: 148 kB / 0.5838 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.4083, allocations: 0.6007 MB / 0.5844 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.4097, allocations: 0.9194 MB / 0.5853 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.4117, allocations: 0.9873 MB / 0.5862 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.4155, allocations: 2.58 MB / 0.5887 GB, free: 4.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4155, allocations: 0 / 0.5887 GB, free: 4.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4155, allocations: 0 / 0.5887 GB, free: 4.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.082e-05/0.4155, allocations: 0 / 0.5887 GB, free: 4.52 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004867/0.4204, allocations: 2.223 MB / 0.5909 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4205, allocations: 15.98 kB / 0.5909 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003108/0.4208, allocations: 232.5 kB / 0.5912 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.4228, allocations: 387.1 kB / 0.5915 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.4257, allocations: 1.236 MB / 0.5927 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.354e-05/0.4258, allocations: 106.7 kB / 0.5928 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/0.4264, allocations: 239.8 kB / 0.5931 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/0.4299, allocations: 2.196 MB / 0.5952 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.43, allocations: 7.938 kB / 0.5952 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.4301, allocations: 59.98 kB / 0.5953 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007073/0.4308, allocations: 190.8 kB / 0.5954 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/0.434, allocations: 1.83 MB / 0.5972 GB, free: 11.61 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.01391/0.4479, allocations: 8.411 MB / 0.6055 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.4507, allocations: 1.391 MB / 0.6068 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.4521, allocations: 0.7551 MB / 0.6075 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.966e-05/0.4522, allocations: 25.3 kB / 0.6076 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.4523, allocations: 51.88 kB / 0.6076 GB, free: 0.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.486e-06/0.4523, allocations: 0 / 0.6076 GB, free: 0.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02341/0.4757, allocations: 8.483 MB / 0.6159 GB, free: 8.008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.4758, allocations: 98.41 kB / 0.616 GB, free: 7.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.4772, allocations: 1.067 MB / 0.617 GB, free: 6.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.4773, allocations: 53.7 kB / 0.6171 GB, free: 6.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.478, allocations: 0.8015 MB / 0.6179 GB, free: 5.941 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005602/0.4785, allocations: 0.6197 MB / 0.6185 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005224/0.4791, allocations: 355.4 kB / 0.6188 GB, free: 4.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4792, allocations: 301.1 kB / 0.6191 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.4807, allocations: 0.8472 MB / 0.6199 GB, free: 3.816 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.4826, allocations: 1.348 MB / 0.6212 GB, free: 2.262 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.01405/0.4966, allocations: 5.183 MB / 0.6263 GB, free: 12.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.4967, allocations: 8 kB / 0.6263 GB, free: 12.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009471/0.5061, allocations: 3.991 MB / 0.6302 GB, free: 8.879 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.5062, allocations: 12 kB / 0.6302 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.5062, allocations: 15.94 kB / 0.6302 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004957/0.5112, allocations: 1.61 MB / 0.6318 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.5125, allocations: 315.5 kB / 0.6321 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0303/0.5429, allocations: 20.28 MB / 0.6519 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.5446, allocations: 95.92 kB / 0.652 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.5448, allocations: 83.98 kB / 0.6521 GB, free: 1.746 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.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.001101/0.5459, allocations: 0.5479 MB / 0.6526 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.5462, allocations: 159 kB / 0.6528 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/0.5516, allocations: 2.496 MB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.5516, allocations: 24.22 kB / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.5516, allocations: 4 kB / 0.6552 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.5517, allocations: 12.11 kB / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009857/0.5615, allocations: 4.487 MB / 0.6596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5615, allocations: 0 / 0.6596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.5633, allocations: 351.9 kB / 0.66 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.5649, allocations: 489.5 kB / 0.6604 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.5651, allocations: 55.97 kB / 0.6605 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.5783, allocations: 12.04 MB / 0.6723 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5783, allocations: 8.125 kB / 0.6723 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00703/0.5853, allocations: 3.397 MB / 0.6756 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009398/0.5863, allocations: 302.7 kB / 0.6759 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.5865, allocations: 51.98 kB / 0.6759 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009316/0.5875, allocations: 79.86 kB / 0.676 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/0.5878, allocations: 125.1 kB / 0.6761 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.5879, allocations: 51.98 kB / 0.6762 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001072/0.589, allocations: 0.7138 MB / 0.6769 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.589, allocations: 4 kB / 0.6769 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002313/0.5913, allocations: 0.6015 MB / 0.6774 GB, free: 6.719 MB / 0.5137 GB 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.007618/0.5989, allocations: 4.031 MB / 0.6814 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006461/0.6054, allocations: 3.383 MB / 0.6847 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.6054, allocations: 4 kB / 0.6847 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003414/0.6088, allocations: 1.823 MB / 0.6865 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.6106, allocations: 352 kB / 0.6868 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03994/0.6506, allocations: 19.62 MB / 0.706 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.6522, allocations: 1.649 MB / 0.7076 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001338/0.6535, allocations: 437.3 kB / 0.708 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.6546, allocations: 0.7062 MB / 0.7087 GB, free: 5.715 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/0.6546, allocations: 4 kB / 0.7087 GB, free: 5.711 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3665/1.021, allocations: 50.17 MB / 0.7577 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.16/18.18, allocations: 7.438 kB / 0.7577 GB, free: 158.4 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.162279131123796] Failed to read output from testmodel.py, exit status != 0: 18.32961534219794 18.347201098 17.92800241 Calling exit ...