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.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.001722/0.001722, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.002315/0.002315, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.455/1.455, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.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.186/0.186, allocations: 38.5 MB / 342.5 MB, free: 8.039 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.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_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 75.55 kB / 478.6 MB, free: 33.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1172, allocations: 61.24 MB / 0.5272 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01483/0.1321, allocations: 11.13 MB / 0.5381 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1451, allocations: 7.114 MB / 0.545 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.1469, allocations: 51.69 kB / 0.5451 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0258/0.1727, allocations: 12.91 MB / 0.5577 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.176, allocations: 1.136 MB / 0.5588 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.1779, allocations: 0.7017 MB / 0.5595 GB, free: 264 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006649/0.1846, allocations: 4.004 MB / 0.5634 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.1863, allocations: 0.813 MB / 0.5642 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.1885, allocations: 1.125 MB / 0.5653 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.1913, allocations: 1.554 MB / 0.5668 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005551/0.1918, allocations: 152 kB / 0.5669 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.1935, allocations: 0.5422 MB / 0.5675 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.1947, allocations: 0.9193 MB / 0.5684 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.1963, allocations: 0.9873 MB / 0.5693 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.2008, allocations: 2.572 MB / 0.5718 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2008, allocations: 0 / 0.5718 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2008, allocations: 0 / 0.5718 GB, free: 3.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.198e-05/0.2009, allocations: 0 / 0.5718 GB, free: 3.527 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.005752/0.2067, allocations: 2.273 MB / 0.5741 GB, free: 1.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.2067, allocations: 15.89 kB / 0.5741 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003773/0.2071, allocations: 232.5 kB / 0.5743 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.209, allocations: 347.1 kB / 0.5746 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/0.2129, allocations: 1.339 MB / 0.5759 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.213, allocations: 110.7 kB / 0.576 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/0.2139, allocations: 231.9 kB / 0.5763 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.2182, allocations: 2.2 MB / 0.5784 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-05/0.2182, allocations: 11.89 kB / 0.5784 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.2184, allocations: 55.98 kB / 0.5785 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006586/0.219, allocations: 186.8 kB / 0.5786 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.2229, allocations: 1.83 MB / 0.5804 GB, free: 10.49 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.01617/0.239, allocations: 8.526 MB / 0.5888 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.2421, allocations: 1.846 MB / 0.5906 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.2436, allocations: 0.7434 MB / 0.5913 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-05/0.2437, allocations: 21.31 kB / 0.5913 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.2438, allocations: 47.88 kB / 0.5914 GB, free: 14.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.416e-06/0.2438, allocations: 0 / 0.5914 GB, free: 14.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=165): time 0.0255/0.2693, allocations: 9.263 MB / 0.6004 GB, free: 5.254 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.2694, allocations: 94.42 kB / 0.6005 GB, free: 5.145 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.2711, allocations: 1.067 MB / 0.6015 GB, free: 4.066 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.2713, allocations: 53.7 kB / 0.6016 GB, free: 4.008 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/0.272, allocations: 0.8054 MB / 0.6024 GB, free: 3.191 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008146/0.2728, allocations: 0.6159 MB / 0.603 GB, free: 2.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007365/0.2736, allocations: 347.5 kB / 0.6033 GB, free: 2.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2737, allocations: 305.2 kB / 0.6036 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.2755, allocations: 0.8549 MB / 0.6044 GB, free: 1.066 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2544/0.5299, allocations: 1.344 MB / 0.6057 GB, free: 71.76 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.01532/0.5452, allocations: 5.189 MB / 0.6108 GB, free: 71.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/0.5452, allocations: 3.812 kB / 0.6108 GB, free: 71.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008719/0.554, allocations: 4.138 MB / 0.6149 GB, free: 69.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.554, allocations: 12.03 kB / 0.6149 GB, free: 69.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.554, allocations: 13.44 kB / 0.6149 GB, free: 69.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/0.5592, allocations: 1.611 MB / 0.6165 GB, free: 69.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.5605, allocations: 314.5 kB / 0.6168 GB, free: 69.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/0.5832, allocations: 20.9 MB / 0.6372 GB, free: 55.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.5848, allocations: 98.67 kB / 0.6373 GB, free: 55.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.5851, allocations: 91.7 kB / 0.6373 GB, free: 54.92 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.0009825/0.586, allocations: 0.5506 MB / 0.6379 GB, free: 54.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.5863, allocations: 156.9 kB / 0.638 GB, free: 54.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/0.5909, allocations: 2.792 MB / 0.6408 GB, free: 51.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.5909, allocations: 16 kB / 0.6408 GB, free: 51.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5909, allocations: 7.938 kB / 0.6408 GB, free: 51.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.5909, allocations: 7.969 kB / 0.6408 GB, free: 51.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008521/0.5995, allocations: 4.806 MB / 0.6455 GB, free: 46.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.5995, allocations: 4 kB / 0.6455 GB, free: 46.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.6012, allocations: 339.8 kB / 0.6458 GB, free: 46.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.6026, allocations: 0.4985 MB / 0.6463 GB, free: 45.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/0.6028, allocations: 51.97 kB / 0.6463 GB, free: 45.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008659/0.6115, allocations: 12.74 MB / 0.6588 GB, free: 31.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6115, allocations: 7.938 kB / 0.6588 GB, free: 31.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/0.6172, allocations: 3.716 MB / 0.6624 GB, free: 27.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.6182, allocations: 375.9 kB / 0.6628 GB, free: 27.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.6185, allocations: 51.98 kB / 0.6628 GB, free: 27.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.6195, allocations: 74.03 kB / 0.6629 GB, free: 27.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.6199, allocations: 133 kB / 0.663 GB, free: 27.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/0.62, allocations: 47.98 kB / 0.6631 GB, free: 27.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008853/0.6209, allocations: 0.7139 MB / 0.6638 GB, free: 26.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6209, allocations: 0 / 0.6638 GB, free: 26.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002277/0.6231, allocations: 0.5919 MB / 0.6644 GB, free: 25.93 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.005965/0.6291, allocations: 4.338 MB / 0.6686 GB, free: 21.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00533/0.6344, allocations: 3.387 MB / 0.6719 GB, free: 17.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6344, allocations: 4 kB / 0.6719 GB, free: 17.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.6369, allocations: 1.835 MB / 0.6737 GB, free: 16.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6385, allocations: 348.6 kB / 0.674 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/0.6723, allocations: 19.88 MB / 0.6934 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.6744, allocations: 1.645 MB / 0.695 GB, free: 9.441 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001573/0.676, allocations: 441.3 kB / 0.6955 GB, free: 9.004 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.6774, allocations: 0.7062 MB / 0.6962 GB, free: 8.297 MB / 478.1 MB Notification: Performance of SimCode: time 1.873e-06/0.6774, allocations: 0 / 0.6962 GB, free: 8.297 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/0.8408, allocations: 48.32 MB / 0.7434 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.32, allocations: 15.3 kB / 0.7434 GB, free: 8.191 MB / 0.5137 GB " [Timeout remaining time 644] (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.22711523808539] Failed to read output from testmodel.py, exit status != 0: 16.447913293726742 16.474101453 16.268361213 Calling exit ...