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.001733/0.001733, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002048/0.002048, allocations: 212.2 kB / 24.53 MB, free: 4.066 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1889/0.1889, allocations: 38.53 MB / 353.3 MB, free: 12.54 MB / 286.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.002003/0.002003, allocations: 64.12 kB / 493.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.0133/0.3393, allocations: 11.3 MB / 0.5538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.3519, allocations: 7.163 MB / 0.5608 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3533, allocations: 69.28 kB / 0.5609 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0269/0.3802, allocations: 14.48 MB / 0.575 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.3835, allocations: 1.143 MB / 0.5761 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.3855, allocations: 0.7135 MB / 0.5768 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006071/0.3916, allocations: 4.192 MB / 0.5809 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.3929, allocations: 0.8592 MB / 0.5817 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.3947, allocations: 1.148 MB / 0.5829 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.3972, allocations: 1.573 MB / 0.5844 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.3976, allocations: 152 kB / 0.5845 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.3989, allocations: 0.5968 MB / 0.5851 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009638/0.3998, allocations: 0.9155 MB / 0.586 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.401, allocations: 0.9912 MB / 0.587 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.4043, allocations: 2.584 MB / 0.5895 GB, free: 4.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4043, allocations: 0 / 0.5895 GB, free: 4.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4043, allocations: 4 kB / 0.5895 GB, free: 4.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-05/0.4043, allocations: 0 / 0.5895 GB, free: 4.512 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.004849/0.4092, allocations: 2.215 MB / 0.5917 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4092, allocations: 11.98 kB / 0.5917 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.833e-05/0.4093, allocations: 42.94 kB / 0.5917 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002907/0.4096, allocations: 228.5 kB / 0.5919 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.4117, allocations: 394.9 kB / 0.5923 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.4146, allocations: 1.232 MB / 0.5935 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/0.4147, allocations: 106.7 kB / 0.5936 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/0.4154, allocations: 235.8 kB / 0.5939 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.419, allocations: 2.2 MB / 0.596 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.4191, allocations: 11.88 kB / 0.596 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.4192, allocations: 59.98 kB / 0.5961 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006816/0.4199, allocations: 186.8 kB / 0.5963 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.4233, allocations: 1.83 MB / 0.598 GB, free: 11.57 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.01425/0.4376, allocations: 8.414 MB / 0.6063 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.4406, allocations: 1.392 MB / 0.6076 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.4421, allocations: 0.759 MB / 0.6084 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/0.4422, allocations: 21.36 kB / 0.6084 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.4422, allocations: 51.88 kB / 0.6084 GB, free: 0.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.577e-06/0.4422, allocations: 0 / 0.6084 GB, free: 0.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02442/0.4666, allocations: 8.479 MB / 0.6167 GB, free: 7.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.4667, allocations: 98.41 kB / 0.6168 GB, free: 7.852 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.4683, allocations: 1.067 MB / 0.6178 GB, free: 6.773 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.4685, allocations: 49.7 kB / 0.6179 GB, free: 6.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.4692, allocations: 0.8053 MB / 0.6187 GB, free: 5.902 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/0.4698, allocations: 0.6198 MB / 0.6193 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005454/0.4703, allocations: 351.4 kB / 0.6196 GB, free: 4.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4704, allocations: 309.2 kB / 0.6199 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.4719, allocations: 0.851 MB / 0.6207 GB, free: 3.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.4738, allocations: 1.337 MB / 0.622 GB, free: 2.227 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.01403/0.4879, allocations: 5.195 MB / 0.6271 GB, free: 12.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.4879, allocations: 7.938 kB / 0.6271 GB, free: 12.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009597/0.4975, allocations: 3.992 MB / 0.631 GB, free: 8.832 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.4975, allocations: 15.12 kB / 0.631 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.4975, allocations: 16 kB / 0.6311 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004907/0.5025, allocations: 1.604 MB / 0.6326 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.5038, allocations: 315.4 kB / 0.6329 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03101/0.5348, allocations: 20.29 MB / 0.6527 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.5364, allocations: 95.92 kB / 0.6528 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.5365, allocations: 84.06 kB / 0.6529 GB, free: 1.691 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.001018/0.5376, allocations: 0.544 MB / 0.6534 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.5378, allocations: 159 kB / 0.6536 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/0.5432, allocations: 2.496 MB / 0.656 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.5433, allocations: 20 kB / 0.656 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.5433, allocations: 4 kB / 0.6561 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.5433, allocations: 7.969 kB / 0.6561 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009278/0.5526, allocations: 4.484 MB / 0.6604 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.5526, allocations: 4 kB / 0.6604 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.5543, allocations: 347.5 kB / 0.6608 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.556, allocations: 497.6 kB / 0.6612 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.5561, allocations: 59.97 kB / 0.6613 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.5689, allocations: 12.03 MB / 0.6731 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5689, allocations: 4.031 kB / 0.6731 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006887/0.5758, allocations: 3.407 MB / 0.6764 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/0.5767, allocations: 302.7 kB / 0.6767 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.577, allocations: 51.98 kB / 0.6767 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009218/0.5779, allocations: 71.92 kB / 0.6768 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/0.5782, allocations: 133.1 kB / 0.6769 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.5784, allocations: 55.91 kB / 0.677 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001064/0.5794, allocations: 0.7061 MB / 0.6777 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5794, allocations: 0 / 0.6777 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002085/0.5815, allocations: 0.5976 MB / 0.6782 GB, free: 6.68 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.007335/0.5889, allocations: 4.039 MB / 0.6822 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006488/0.5953, allocations: 3.382 MB / 0.6855 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5954, allocations: 0 / 0.6855 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/0.5986, allocations: 1.827 MB / 0.6873 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.6003, allocations: 347.9 kB / 0.6876 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03889/0.6392, allocations: 19.62 MB / 0.7068 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.641, allocations: 1.652 MB / 0.7084 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001633/0.6427, allocations: 441.3 kB / 0.7088 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.6438, allocations: 0.6984 MB / 0.7095 GB, free: 5.668 MB / 0.545 GB Notification: Performance of SimCode: time 1.884e-06/0.6438, allocations: 4 kB / 0.7095 GB, free: 5.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.323/0.9668, allocations: 50.19 MB / 0.7585 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/17.96, allocations: 18.55 kB / 0.7585 GB, free: 157.2 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.961286816978827] Failed to read output from testmodel.py, exit status != 0: 18.18134116003057 18.192246258 17.785510965 Calling exit ...