Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001522/0.001522, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001633/0.001633, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.175/0.175, allocations: 38.52 MB / 353.2 MB, free: 12.57 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: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") [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.001962/0.001962, allocations: 67.03 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 62.48 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01303/0.3197, allocations: 11.22 MB / 0.5542 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.3316, allocations: 7.188 MB / 0.5612 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.3327, allocations: 71.44 kB / 0.5613 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02522/0.3579, allocations: 14.51 MB / 0.5754 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.361, allocations: 1.116 MB / 0.5765 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.3629, allocations: 0.6744 MB / 0.5772 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006608/0.3695, allocations: 4.086 MB / 0.5812 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.3712, allocations: 0.8475 MB / 0.582 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.3731, allocations: 1.109 MB / 0.5831 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.3759, allocations: 1.526 MB / 0.5846 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.3764, allocations: 144 kB / 0.5847 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.378, allocations: 0.589 MB / 0.5853 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.3792, allocations: 0.9038 MB / 0.5862 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.3808, allocations: 0.9562 MB / 0.5871 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.3845, allocations: 2.518 MB / 0.5896 GB, free: 4.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3845, allocations: 0 / 0.5896 GB, free: 4.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3845, allocations: 4 kB / 0.5896 GB, free: 4.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.894e-05/0.3846, allocations: 0 / 0.5896 GB, free: 4.891 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.004946/0.3895, allocations: 2.139 MB / 0.5917 GB, free: 2.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3895, allocations: 11.98 kB / 0.5917 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.3915, allocations: 379.4 kB / 0.592 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.3944, allocations: 1.193 MB / 0.5932 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.3945, allocations: 102.6 kB / 0.5933 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005674/0.3951, allocations: 231.9 kB / 0.5935 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/0.3986, allocations: 2.149 MB / 0.5956 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.3987, allocations: 11.89 kB / 0.5956 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.3988, allocations: 55.98 kB / 0.5957 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006031/0.3994, allocations: 186.7 kB / 0.5959 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.4026, allocations: 1.756 MB / 0.5976 GB, free: 12.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.01258/0.4152, allocations: 8.471 MB / 0.6058 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.4175, allocations: 1.298 MB / 0.6071 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.4189, allocations: 0.7118 MB / 0.6078 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.15e-05/0.419, allocations: 25.06 kB / 0.6078 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.419, allocations: 51.5 kB / 0.6079 GB, free: 1.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.336e-06/0.419, allocations: 0 / 0.6079 GB, free: 1.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01917/0.4382, allocations: 7.148 MB / 0.6149 GB, free: 10.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.4383, allocations: 90.42 kB / 0.6149 GB, free: 10.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.4398, allocations: 1.041 MB / 0.616 GB, free: 9.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.4399, allocations: 53.7 kB / 0.616 GB, free: 9.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.4405, allocations: 0.7856 MB / 0.6168 GB, free: 8.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/0.441, allocations: 0.5577 MB / 0.6173 GB, free: 7.711 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.4416, allocations: 335.4 kB / 0.6176 GB, free: 7.379 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4417, allocations: 305.1 kB / 0.6179 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.443, allocations: 0.7769 MB / 0.6187 GB, free: 6.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.4447, allocations: 1.247 MB / 0.6199 GB, free: 4.859 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.01603/0.4607, allocations: 5.61 MB / 0.6254 GB, free: 15.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.4608, allocations: 4 kB / 0.6254 GB, free: 15.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009708/0.4705, allocations: 3.78 MB / 0.6291 GB, free: 11.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.4705, allocations: 12 kB / 0.6291 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.4705, allocations: 12 kB / 0.6291 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/0.4764, allocations: 1.744 MB / 0.6308 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.4775, allocations: 271.5 kB / 0.6311 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/0.5052, allocations: 18.09 MB / 0.6487 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.5065, allocations: 83.94 kB / 0.6488 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.5068, allocations: 79.98 kB / 0.6489 GB, free: 6.52 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.001066/0.5078, allocations: 0.5328 MB / 0.6494 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.5082, allocations: 151 kB / 0.6496 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005353/0.5135, allocations: 2.243 MB / 0.6518 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.5135, allocations: 16 kB / 0.6518 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.5135, allocations: 7.938 kB / 0.6518 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.5136, allocations: 7.969 kB / 0.6518 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009293/0.5229, allocations: 4.137 MB / 0.6558 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5229, allocations: 320 / 0.6558 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.5245, allocations: 311.6 kB / 0.6561 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.5271, allocations: 0.5464 MB / 0.6567 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.5273, allocations: 51.97 kB / 0.6567 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.5383, allocations: 9.637 MB / 0.6661 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5383, allocations: 4.031 kB / 0.6661 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006552/0.5448, allocations: 3.059 MB / 0.6691 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00089/0.5457, allocations: 278.9 kB / 0.6694 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.5461, allocations: 55.92 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.547, allocations: 63.94 kB / 0.6695 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.5473, allocations: 117.3 kB / 0.6696 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.5474, allocations: 51.97 kB / 0.6696 GB, free: 492 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001142/0.5486, allocations: 0.6892 MB / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5486, allocations: 3.938 kB / 0.6703 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002183/0.5507, allocations: 0.5663 MB / 0.6709 GB, free: 15.21 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.000417/0.5512, allocations: 182.9 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005535/0.5567, allocations: 2.991 MB / 0.674 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5567, allocations: 0 / 0.674 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.5592, allocations: 1.537 MB / 0.6755 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5608, allocations: 318.6 kB / 0.6758 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.5691, allocations: 5.265 MB / 0.6809 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.5707, allocations: 1.585 MB / 0.6825 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.5711, allocations: 107.4 kB / 0.6826 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.5711, allocations: 4 kB / 0.6826 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of Templates: time 0.06605/0.6372, allocations: 50.38 MB / 0.7318 GB, free: 0.6055 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.375676123891026] Failed to read output from testmodel.py, exit status != 0: 0.8648205669596791 0.87520426 0.488445289 Calling exit ...