Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001259/0.001259, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001431/0.001431, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1851/0.1851, allocations: 38.53 MB / 352.5 MB, free: 12.53 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_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",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.002278/0.002278, allocations: 63.03 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3246, allocations: 62.47 MB / 0.542 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01576/0.3403, allocations: 11.23 MB / 0.553 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.3549, allocations: 7.183 MB / 0.56 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.3565, allocations: 60.62 kB / 0.56 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02791/0.3844, allocations: 14.52 MB / 0.5742 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.3881, allocations: 1.124 MB / 0.5753 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.3904, allocations: 0.6706 MB / 0.576 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007116/0.3975, allocations: 4.078 MB / 0.5799 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.3993, allocations: 0.8514 MB / 0.5808 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.4015, allocations: 1.109 MB / 0.5819 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002938/0.4044, allocations: 1.526 MB / 0.5833 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006269/0.405, allocations: 144 kB / 0.5835 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.4068, allocations: 0.5851 MB / 0.5841 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.4082, allocations: 0.9116 MB / 0.5849 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002316/0.4105, allocations: 0.9523 MB / 0.5859 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.4151, allocations: 2.514 MB / 0.5883 GB, free: 4.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4151, allocations: 4 kB / 0.5883 GB, free: 4.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4151, allocations: 4 kB / 0.5883 GB, free: 4.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001013/0.4152, allocations: 4 kB / 0.5883 GB, free: 4.906 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.006205/0.4214, allocations: 2.135 MB / 0.5904 GB, free: 2.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4214, allocations: 11.98 kB / 0.5904 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005648/0.422, allocations: 228.2 kB / 0.5907 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.4243, allocations: 383.2 kB / 0.591 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.4276, allocations: 1.189 MB / 0.5922 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.4277, allocations: 98.66 kB / 0.5923 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007879/0.4285, allocations: 235.8 kB / 0.5925 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004504/0.433, allocations: 2.149 MB / 0.5946 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-05/0.4331, allocations: 7.891 kB / 0.5946 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.4333, allocations: 59.98 kB / 0.5947 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006594/0.434, allocations: 182.7 kB / 0.5948 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.4375, allocations: 1.76 MB / 0.5966 GB, free: 12.28 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.01392/0.4514, allocations: 8.468 MB / 0.6048 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.4539, allocations: 1.302 MB / 0.6061 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.4553, allocations: 0.7118 MB / 0.6068 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.4554, allocations: 29.05 kB / 0.6068 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.4554, allocations: 51.5 kB / 0.6069 GB, free: 1.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.286e-06/0.4554, allocations: 0 / 0.6069 GB, free: 1.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02013/0.4755, allocations: 7.144 MB / 0.6138 GB, free: 10.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.4756, allocations: 94.42 kB / 0.6139 GB, free: 9.965 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.4772, allocations: 1.041 MB / 0.615 GB, free: 8.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.4774, allocations: 49.7 kB / 0.615 GB, free: 8.855 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/0.4781, allocations: 0.7895 MB / 0.6158 GB, free: 8.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006234/0.4787, allocations: 0.5578 MB / 0.6163 GB, free: 7.492 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005865/0.4793, allocations: 335.4 kB / 0.6166 GB, free: 7.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4794, allocations: 301.1 kB / 0.6169 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.4808, allocations: 0.7769 MB / 0.6177 GB, free: 6.086 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.4826, allocations: 1.251 MB / 0.6189 GB, free: 4.641 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.0169/0.4995, allocations: 5.61 MB / 0.6244 GB, free: 14.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.4996, allocations: 4 kB / 0.6244 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01016/0.5097, allocations: 3.776 MB / 0.6281 GB, free: 11.06 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.5098, allocations: 12 kB / 0.6281 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/0.5098, allocations: 12 kB / 0.6281 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006071/0.5159, allocations: 1.741 MB / 0.6298 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.517, allocations: 263.6 kB / 0.63 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02983/0.5469, allocations: 18.1 MB / 0.6477 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5483, allocations: 83.88 kB / 0.6478 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/0.5486, allocations: 91.91 kB / 0.6479 GB, free: 6.293 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.generator.psi_rq[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001318/0.5499, allocations: 0.5212 MB / 0.6484 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.5504, allocations: 155 kB / 0.6485 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005974/0.5564, allocations: 2.243 MB / 0.6507 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.5564, allocations: 12 kB / 0.6507 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.5564, allocations: 7.938 kB / 0.6508 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/0.5564, allocations: 7.984 kB / 0.6508 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/0.5664, allocations: 4.129 MB / 0.6548 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.5664, allocations: 4.312 kB / 0.6548 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.568, allocations: 311.6 kB / 0.6551 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.5707, allocations: 0.5536 MB / 0.6556 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.5709, allocations: 55.97 kB / 0.6557 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.5834, allocations: 9.634 MB / 0.6651 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.5834, allocations: 7.938 kB / 0.6651 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007099/0.5905, allocations: 3.061 MB / 0.6681 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009585/0.5914, allocations: 274.9 kB / 0.6684 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/0.5918, allocations: 51.92 kB / 0.6684 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.5928, allocations: 63.94 kB / 0.6685 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/0.5931, allocations: 125 kB / 0.6686 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.5933, allocations: 43.98 kB / 0.6686 GB, free: 272 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001222/0.5945, allocations: 0.6892 MB / 0.6693 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5945, allocations: 0 / 0.6693 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002529/0.597, allocations: 0.5702 MB / 0.6699 GB, free: 15 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,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]) * 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 (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00712/0.6041, allocations: 3.686 MB / 0.6735 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005771/0.6099, allocations: 3 MB / 0.6764 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6099, allocations: 8 kB / 0.6764 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.6125, allocations: 1.524 MB / 0.6779 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6141, allocations: 331.8 kB / 0.6782 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03632/0.6504, allocations: 18.72 MB / 0.6965 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.6522, allocations: 1.588 MB / 0.698 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001206/0.6534, allocations: 408.5 kB / 0.6984 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009333/0.6543, allocations: 0.6594 MB / 0.6991 GB, free: 260 kB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.6543, allocations: 0 / 0.6991 GB, free: 260 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3808/1.035, allocations: 48.74 MB / 0.7467 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.54, allocations: 2.062 kB / 0.7467 GB, free: 169.9 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.37886973610148] Failed to read output from testmodel.py, exit status != 0: 17.6849395299796 17.695239871 17.27766518 Calling exit ...