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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.1 MB, free: 3.559 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1849/0.1849, allocations: 38.51 MB / 342.5 MB, free: 8.016 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 69.33 kB / 478.6 MB, free: 33.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1128, allocations: 61.25 MB / 0.5272 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01404/0.1268, allocations: 11.14 MB / 0.5381 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1387, allocations: 7.113 MB / 0.545 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.1399, allocations: 47.75 kB / 0.5451 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02259/0.1625, allocations: 12.91 MB / 0.5577 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003694/0.1662, allocations: 1.128 MB / 0.5588 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.1682, allocations: 0.694 MB / 0.5595 GB, free: 216 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006447/0.1747, allocations: 4.016 MB / 0.5634 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.1763, allocations: 0.8091 MB / 0.5642 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.1784, allocations: 1.136 MB / 0.5653 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.1811, allocations: 1.55 MB / 0.5668 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003591/0.1814, allocations: 148 kB / 0.5669 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.1829, allocations: 0.5422 MB / 0.5675 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.184, allocations: 0.9232 MB / 0.5684 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.1851, allocations: 0.9951 MB / 0.5693 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.1885, allocations: 2.565 MB / 0.5718 GB, free: 3.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1885, allocations: 0 / 0.5718 GB, free: 3.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1885, allocations: 0 / 0.5718 GB, free: 3.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.72e-05/0.1885, allocations: 0 / 0.5718 GB, free: 3.465 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.00546/0.194, allocations: 2.273 MB / 0.5741 GB, free: 1.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.194, allocations: 11.89 kB / 0.5741 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003479/0.1944, allocations: 232.5 kB / 0.5743 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.1963, allocations: 351.1 kB / 0.5746 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.1996, allocations: 1.347 MB / 0.576 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1998, allocations: 106.7 kB / 0.5761 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006326/0.2004, allocations: 239.8 kB / 0.5763 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.204, allocations: 2.188 MB / 0.5784 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.2041, allocations: 11.89 kB / 0.5784 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.2042, allocations: 55.98 kB / 0.5785 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000633/0.2049, allocations: 194.8 kB / 0.5787 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003253/0.2081, allocations: 1.834 MB / 0.5805 GB, free: 10.41 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.01322/0.2214, allocations: 8.522 MB / 0.5888 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.2241, allocations: 1.842 MB / 0.5906 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.2255, allocations: 0.7395 MB / 0.5913 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.566e-05/0.2256, allocations: 25.36 kB / 0.5913 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.2256, allocations: 51.81 kB / 0.5914 GB, free: 14.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.446e-06/0.2256, allocations: 0 / 0.5914 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=165): time 0.02375/0.2494, allocations: 9.252 MB / 0.6004 GB, free: 5.195 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.2495, allocations: 102.3 kB / 0.6005 GB, free: 5.078 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.251, allocations: 1.067 MB / 0.6016 GB, free: 4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.2512, allocations: 53.7 kB / 0.6016 GB, free: 3.941 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.2519, allocations: 0.8054 MB / 0.6024 GB, free: 3.125 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006727/0.2526, allocations: 0.612 MB / 0.603 GB, free: 2.508 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/0.2531, allocations: 359.5 kB / 0.6033 GB, free: 2.152 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2533, allocations: 301.1 kB / 0.6036 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.2548, allocations: 0.8472 MB / 0.6044 GB, free: 1.004 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2534/0.5082, allocations: 1.345 MB / 0.6058 GB, free: 72.01 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.01458/0.5228, allocations: 5.179 MB / 0.6108 GB, free: 71.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/0.5228, allocations: 6.234 kB / 0.6108 GB, free: 71.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008558/0.5314, allocations: 4.142 MB / 0.6149 GB, free: 69.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.5314, allocations: 17.55 kB / 0.6149 GB, free: 69.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.5314, allocations: 13.12 kB / 0.6149 GB, free: 69.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00522/0.5367, allocations: 1.606 MB / 0.6165 GB, free: 69.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.5381, allocations: 315.8 kB / 0.6168 GB, free: 69.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.5606, allocations: 20.9 MB / 0.6372 GB, free: 55.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.562, allocations: 104.4 kB / 0.6373 GB, free: 55.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.5622, allocations: 81.55 kB / 0.6373 GB, free: 54.97 MB / 462.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.0008156/0.563, allocations: 0.5521 MB / 0.6379 GB, free: 54.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.5633, allocations: 162.1 kB / 0.638 GB, free: 54.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.5674, allocations: 2.802 MB / 0.6408 GB, free: 51.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5674, allocations: 16 kB / 0.6408 GB, free: 51.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5674, allocations: 7.938 kB / 0.6408 GB, free: 51.37 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5675, allocations: 7.969 kB / 0.6408 GB, free: 51.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007221/0.5747, allocations: 4.802 MB / 0.6455 GB, free: 46.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.5747, allocations: 4 kB / 0.6455 GB, free: 46.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.5762, allocations: 346.8 kB / 0.6458 GB, free: 46.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.5775, allocations: 0.4935 MB / 0.6463 GB, free: 45.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5776, allocations: 51.98 kB / 0.6464 GB, free: 45.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007844/0.5854, allocations: 12.74 MB / 0.6588 GB, free: 31.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5854, allocations: 11.55 kB / 0.6588 GB, free: 31.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.5905, allocations: 3.709 MB / 0.6624 GB, free: 27.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/0.5913, allocations: 378 kB / 0.6628 GB, free: 27.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.5915, allocations: 51.98 kB / 0.6628 GB, free: 27.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.5924, allocations: 71.92 kB / 0.6629 GB, free: 27.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.5926, allocations: 125 kB / 0.663 GB, free: 27.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.5927, allocations: 47.98 kB / 0.6631 GB, free: 27.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007213/0.5934, allocations: 0.7178 MB / 0.6638 GB, free: 26.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5934, allocations: 384 / 0.6638 GB, free: 26.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001918/0.5954, allocations: 0.5979 MB / 0.6644 GB, free: 25.96 MB / 462.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.005477/0.6008, allocations: 4.349 MB / 0.6686 GB, free: 21.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00525/0.6061, allocations: 3.382 MB / 0.6719 GB, free: 18.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6061, allocations: 4 kB / 0.6719 GB, free: 18.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.6083, allocations: 1.83 MB / 0.6737 GB, free: 16.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.6099, allocations: 345.9 kB / 0.674 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/0.639, allocations: 19.88 MB / 0.6935 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.6406, allocations: 1.637 MB / 0.6951 GB, free: 9.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001336/0.642, allocations: 445.3 kB / 0.6955 GB, free: 9.043 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.643, allocations: 0.7063 MB / 0.6962 GB, free: 8.336 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.643, allocations: 4 kB / 0.6962 GB, free: 8.332 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/0.7678, allocations: 48.35 MB / 0.7434 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/16.62, allocations: 11.23 kB / 0.7434 GB, free: 8.199 MB / 0.5137 GB " [Timeout remaining time 643] (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: 19.578295583836734] Failed to read output from testmodel.py, exit status != 0: 16.752450180705637 16.779306404 16.585648508 Calling exit ...